Commit 28c10c34 by 林永健

fix: 修改入职时间字段的日期格式为包含时分秒

将entryStartDate和entryEndDate的JsonFormat格式从"yyyy-MM-dd"改为"yyyy-MM-dd HH🇲🇲ss",以支持更精确的时间查询
1 parent 482ecbd0
...@@ -44,13 +44,13 @@ public class BeiSenEmployeeListRequestDTO implements Serializable { ...@@ -44,13 +44,13 @@ public class BeiSenEmployeeListRequestDTO implements Serializable {
/** /**
* 入职时间开始 * 入职时间开始
*/ */
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date entryStartDate; private Date entryStartDate;
/** /**
* 入职时间结束 * 入职时间结束
*/ */
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date entryEndDate; private Date entryEndDate;
/** /**
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!