解决机构加盟-加盟/变更信息时 身份证生日如果是1号 显示、保存会减一天问题
This commit is contained in:
parent
ecc8b4f875
commit
bcbcf55ea0
|
|
@ -15,6 +15,7 @@ import org.jeecgframework.poi.excel.annotation.Excel;
|
|||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDate;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
|
|
@ -60,9 +61,9 @@ public class OrgApplyInfoApiEntity implements Serializable {
|
|||
/**民族*/
|
||||
private String national;
|
||||
/**出生日期*/
|
||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy年MM月dd日")
|
||||
@JsonFormat(pattern = "yyyy年MM月dd日")
|
||||
@DateTimeFormat(pattern = "yyyy年MM月dd日")
|
||||
private Date birthDate;
|
||||
private LocalDate birthDate;
|
||||
/**住址(身份证上)*/
|
||||
private String idCardAddress;
|
||||
/**身份证号*/
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ import org.jeecgframework.poi.excel.annotation.Excel;
|
|||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDate;
|
||||
|
||||
/**
|
||||
* @Description: 机构加盟申请信息表
|
||||
|
|
@ -106,10 +107,10 @@ public class OrgApplyInfo implements Serializable {
|
|||
private java.lang.String national;
|
||||
/**出生日期*/
|
||||
@Excel(name = "出生日期", width = 20, format = "yyyy-MM-dd")
|
||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@DateTimeFormat(pattern="yyyy-MM-dd")
|
||||
@ApiModelProperty(value = "出生日期")
|
||||
private java.util.Date birthDate;
|
||||
private LocalDate birthDate;
|
||||
/**住址(身份证上)*/
|
||||
@Excel(name = "住址(身份证上)", width = 15)
|
||||
@ApiModelProperty(value = "住址(身份证上)")
|
||||
|
|
|
|||
Loading…
Reference in New Issue