【工艺路线】有效起始日格式

This commit is contained in:
10001392 2024-12-05 11:41:30 +08:00
parent e1e97c9135
commit c8eb77a4b1
3 changed files with 8 additions and 0 deletions

View File

@ -1,5 +1,6 @@
package com.nflg.product.technology.pojo.vo;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;
@ -63,9 +64,11 @@ public class ProcessRouteTaskAssemblyVO implements Serializable {
private String parentMaterialNo;
// 有效起始日
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT-8")
private LocalDateTime expireStartTime;
// 有效至
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT-8")
private LocalDateTime expireEndTime;
// 删除标记0=未删除1=已删除

View File

@ -1,5 +1,6 @@
package com.nflg.product.technology.pojo.vo;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;
@ -56,9 +57,11 @@ public class ProcessRouteTaskProcessesVO implements Serializable {
private String materialUnit;
// 有效起始日
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT-8")
private LocalDateTime expireStartTime;
// 有效至
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT-8")
private LocalDateTime expireEndTime;
// 活动类型

View File

@ -49,9 +49,11 @@ public class ProcessRouteTaskVO extends BaseMaterialVO implements Serializable {
private String toBatch;
// 有效起始日
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT-8")
private LocalDateTime expireStartTime;
// 有效至
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT-8")
private LocalDateTime expireEndTime;
// 删除标记0=未删除1=已删除