瀏覽代碼

物管维保列表,新返回一个字段recoveryDate

wanghaicheng 5 年之前
父節點
當前提交
abe3d9ab1b

+ 2 - 0
lift-business-service/src/main/java/cn/com/ty/lift/business/maintenance/dao/entity/model/response/PropertyMtResponse.java

@@ -3,6 +3,7 @@ package cn.com.ty.lift.business.maintenance.dao.entity.model.response;
 import lombok.Data;
 
 import java.time.LocalDate;
+import java.time.LocalDateTime;
 
 @Data
 public class PropertyMtResponse {
@@ -14,5 +15,6 @@ public class PropertyMtResponse {
     private Object category;
     private String workerName;
     private LocalDate planDate;
+    private LocalDateTime recoveryDate;
     private Integer hasEvaluate;
 }

+ 1 - 0
lift-common/src/main/java/cn.com.ty.lift.common/constants/SqlConstants.java

@@ -11,6 +11,7 @@ public interface SqlConstants {
                     "       l.category category," +
                     "       ui.name workerName," +
                     "       mp.plan_date planDate," +
+                    "       mr.recovery_date recoveryDate," +
                     "       mr.has_evaluate hasEvaluate" +
                     "          from maintenance_plan mp" +
                     "           left join lift l on mp.lift_id = l.id" +