|
|
@@ -1,10 +1,12 @@
|
|
|
package com.ruoyi.wms.domain.dto;
|
|
|
|
|
|
+import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
|
import lombok.Data;
|
|
|
|
|
|
import java.io.Serial;
|
|
|
import java.io.Serializable;
|
|
|
+import java.time.LocalDate;
|
|
|
import java.util.Date;
|
|
|
|
|
|
@Data
|
|
|
@@ -17,16 +19,20 @@ public class WmsTaskQueryDto implements Serializable {
|
|
|
private String taskCode;
|
|
|
|
|
|
@Schema(description = "开始时间起")
|
|
|
- private Date startDateFrom;
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd")
|
|
|
+ private LocalDate startDateFrom;
|
|
|
|
|
|
@Schema(description = "开始时间到")
|
|
|
- private Date startDateTo;
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd")
|
|
|
+ private LocalDate startDateTo;
|
|
|
|
|
|
@Schema(description = "开始时间起")
|
|
|
- private Date endDateFrom;
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd")
|
|
|
+ private LocalDate endDateFrom;
|
|
|
|
|
|
@Schema(description = "开始时间到")
|
|
|
- private Date endDateTo;
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd")
|
|
|
+ private LocalDate endDateTo;
|
|
|
|
|
|
@Schema(description = "状态")
|
|
|
private Integer status;
|