Commit ad45012baa02e68113e58a6be9c4ee3efb291437

Authored by 王富生
1 parent 5921d2fd

增加期望完成时间

urbanops-module-garden/src/main/java/com/zteits/urbanops/module/garden/controller/app/inspectionplan/vo/AppInspectionPlanRespVO.java
@@ -6,6 +6,7 @@ import lombok.Data; @@ -6,6 +6,7 @@ import lombok.Data;
6 import org.springframework.format.annotation.DateTimeFormat; 6 import org.springframework.format.annotation.DateTimeFormat;
7 7
8 import java.time.LocalDate; 8 import java.time.LocalDate;
  9 +import java.time.LocalDateTime;
9 10
10 import static com.zteits.urbanops.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY; 11 import static com.zteits.urbanops.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY;
11 12
@@ -37,11 +38,11 @@ public class AppInspectionPlanRespVO { @@ -37,11 +38,11 @@ public class AppInspectionPlanRespVO {
37 38
38 @Schema(description = "执行开始时间") 39 @Schema(description = "执行开始时间")
39 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY) 40 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
40 - private LocalDate beginTime; 41 + private LocalDateTime beginTime;
41 42
42 @Schema(description = "执行时间") 43 @Schema(description = "执行时间")
43 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY) 44 @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
44 - private LocalDate endTime; 45 + private LocalDateTime endTime;
45 46
46 @Schema(description = "完成状态 1:未完成;2:进行中;3:已完成", requiredMode = Schema.RequiredMode.REQUIRED) 47 @Schema(description = "完成状态 1:未完成;2:进行中;3:已完成", requiredMode = Schema.RequiredMode.REQUIRED)
47 private Integer finishState; 48 private Integer finishState;
urbanops-module-garden/src/main/java/com/zteits/urbanops/module/garden/controller/app/maintainplan/vo/AppMaintainPlanPageRoadRespVO.java
@@ -50,9 +50,9 @@ public class AppMaintainPlanPageRoadRespVO{ @@ -50,9 +50,9 @@ public class AppMaintainPlanPageRoadRespVO{
50 private Integer planFinishNum; 50 private Integer planFinishNum;
51 51
52 @Schema(description = "执行开始时间") 52 @Schema(description = "执行开始时间")
53 - private LocalDate beginTime; 53 + private LocalDateTime beginTime;
54 54
55 @Schema(description = "执行时间") 55 @Schema(description = "执行时间")
56 - private LocalDate endTime; 56 + private LocalDateTime endTime;
57 57
58 } 58 }
59 \ No newline at end of file 59 \ No newline at end of file