时间格式处理

This commit is contained in:
JinLu.Yin 2022-05-15 23:05:49 +08:00
parent 6496caeed4
commit fa4cd10b8b

View File

@ -114,8 +114,8 @@ public class ProTask extends BaseEntity
private String clientNick; private String clientNick;
/** 开始生产时间 */ /** 开始生产时间 */
@JsonFormat(pattern = "yyyy-MM-dd") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@Excel(name = "开始生产时间", width = 30, dateFormat = "yyyy-MM-dd") @Excel(name = "开始生产时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
private Date startTime; private Date startTime;
/** 生产时长 */ /** 生产时长 */
@ -123,8 +123,8 @@ public class ProTask extends BaseEntity
private Long duration; private Long duration;
/** 完成生产时间 */ /** 完成生产时间 */
@JsonFormat(pattern = "yyyy-MM-dd") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@Excel(name = "完成生产时间", width = 30, dateFormat = "yyyy-MM-dd") @Excel(name = "完成生产时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
private Date endTime; private Date endTime;
/** 甘特图显示颜色 */ /** 甘特图显示颜色 */
@ -132,7 +132,7 @@ public class ProTask extends BaseEntity
private String colorCode; private String colorCode;
/** 需求日期 */ /** 需求日期 */
@JsonFormat(pattern = "yyyy-MM-dd") @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
@Excel(name = "需求日期", width = 30, dateFormat = "yyyy-MM-dd") @Excel(name = "需求日期", width = 30, dateFormat = "yyyy-MM-dd")
private Date requestDate; private Date requestDate;