Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
荆蔚杰
/
java.archive
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
d4499e93
authored
2021-12-10 17:32:18 +0800
by
荆蔚杰
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
对象属性为空依然序列化
1 parent
ffb9f9d6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletions
src/main/java/com/pashanhoo/archive/entity/vo/ArchiveDetailAndCoverVO.java
src/main/resources/application-dev.yaml
src/main/java/com/pashanhoo/archive/entity/vo/ArchiveDetailAndCoverVO.java
View file @
d4499e9
package
com
.
pashanhoo
.
archive
.
entity
.
vo
;
import
com.fasterxml.jackson.annotation.JsonInclude
;
import
com.pashanhoo.bdcdy.entity.vo.DgBdcdyDetailVO
;
import
com.pashanhoo.business.entity.vo.DgBusinessDetailVO
;
import
io.swagger.annotations.ApiModel
;
...
...
@@ -15,6 +16,7 @@ import java.util.List;
@Data
@EqualsAndHashCode
(
callSuper
=
false
)
@ApiModel
(
value
=
"档案封皮和案卷信息返回实体"
)
@JsonInclude
()
public
class
ArchiveDetailAndCoverVO
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
...
...
src/main/resources/application-dev.yaml
View file @
d4499e9
...
...
@@ -16,7 +16,7 @@ spring:
jackson
:
time-zone
:
GMT+8
date-format
:
yyyy-MM-dd HH:mm:ss
default-property-inclusion
:
non_null
default-property-inclusion
:
always
datasource
:
dynamic
:
primary
:
master
...
...
Please
register
or
sign in
to post a comment