修改员工类时间格式

This commit is contained in:
yangjun 2025-08-22 09:22:20 +08:00
parent 97d8949e6b
commit a1ed5cb564
1 changed files with 6 additions and 6 deletions

View File

@ -60,8 +60,8 @@ public class EmployeesAdvisoryInfoEntity implements Serializable {
/**民族*/
private String national;
/**出生日期*/
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
@DateTimeFormat(pattern="yyyy-MM-dd")
@JsonFormat(timezone = "GMT+8",pattern = "yyyy.MM.dd")
@DateTimeFormat(pattern="yyyy.MM.dd")
private Date birthDate;
/**住址(身份证上)*/
private String idCardAddress;
@ -70,12 +70,12 @@ public class EmployeesAdvisoryInfoEntity implements Serializable {
/**签发机关*/
private String issuingAuthority;
/**有效开始日期*/
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
@DateTimeFormat(pattern="yyyy-MM-dd")
@JsonFormat(timezone = "GMT+8",pattern = "yyyy.MM.dd")
@DateTimeFormat(pattern="yyyy.MM.dd")
private Date startTime;
/**有效结束日期*/
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
@DateTimeFormat(pattern="yyyy-MM-dd")
@JsonFormat(timezone = "GMT+8",pattern = "yyyy.MM.dd")
@DateTimeFormat(pattern="yyyy.MM.dd")
private Date endTime;
/**身份证正面*/
private String cardZmPath;