Prechádzať zdrojové kódy

pms 瑞恒 瑞鹰 日报 添加 故障情况(工程质量校验)

zhangcl 4 dní pred
rodič
commit
7c40781684

+ 8 - 0
yudao-module-pms/yudao-module-pms-biz/src/main/java/cn/iocoder/yudao/module/pms/controller/admin/iotrhdailyreport/vo/IotRhDailyReportRespVO.java

@@ -218,6 +218,14 @@ public class IotRhDailyReportRespVO {
     @Schema(description = "状态(0启用 1禁用)", example = "2")
     @Schema(description = "状态(0启用 1禁用)", example = "2")
     private Integer status;
     private Integer status;
 
 
+    @Schema(description = "故障情况")
+    @ExcelProperty("故障情况")
+    private String malfunction;
+
+    @Schema(description = "故障误工h")
+    @ExcelProperty("故障误工h")
+    private BigDecimal faultDowntime;
+
     @Schema(description = "流程实例id", example = "1131")
     @Schema(description = "流程实例id", example = "1131")
     private String processInstanceId;
     private String processInstanceId;
 
 

+ 6 - 0
yudao-module-pms/yudao-module-pms-biz/src/main/java/cn/iocoder/yudao/module/pms/controller/admin/iotrhdailyreport/vo/IotRhDailyReportSaveReqVO.java

@@ -120,6 +120,12 @@ public class IotRhDailyReportSaveReqVO {
     @Schema(description = "状态(0启用 1禁用)", example = "2")
     @Schema(description = "状态(0启用 1禁用)", example = "2")
     private Integer status;
     private Integer status;
 
 
+    @Schema(description = "故障情况")
+    private String malfunction;
+
+    @Schema(description = "故障误工h")
+    private BigDecimal faultDowntime;
+
     @Schema(description = "流程实例id", example = "1131")
     @Schema(description = "流程实例id", example = "1131")
     private String processInstanceId;
     private String processInstanceId;
 
 

+ 8 - 0
yudao-module-pms/yudao-module-pms-biz/src/main/java/cn/iocoder/yudao/module/pms/controller/admin/iotrydailyreport/vo/IotRyDailyReportRespVO.java

@@ -258,6 +258,14 @@ public class IotRyDailyReportRespVO {
     @Schema(description = "状态(0启用 1禁用)", example = "2")
     @Schema(description = "状态(0启用 1禁用)", example = "2")
     private Integer status;
     private Integer status;
 
 
+    @Schema(description = "故障情况")
+    @ExcelProperty("故障情况")
+    private String malfunction;
+
+    @Schema(description = "故障误工h")
+    @ExcelProperty("故障误工h")
+    private BigDecimal faultDowntime;
+
     @Schema(description = "流程实例id", example = "7723")
     @Schema(description = "流程实例id", example = "7723")
     private String processInstanceId;
     private String processInstanceId;
 
 

+ 6 - 0
yudao-module-pms/yudao-module-pms-biz/src/main/java/cn/iocoder/yudao/module/pms/controller/admin/iotrydailyreport/vo/IotRyDailyReportSaveReqVO.java

@@ -180,6 +180,12 @@ public class IotRyDailyReportSaveReqVO {
     @Schema(description = "状态(0启用 1禁用)", example = "2")
     @Schema(description = "状态(0启用 1禁用)", example = "2")
     private Integer status;
     private Integer status;
 
 
+    @Schema(description = "故障情况")
+    private String malfunction;
+
+    @Schema(description = "故障误工h")
+    private BigDecimal faultDowntime;
+
     @Schema(description = "流程实例id", example = "7723")
     @Schema(description = "流程实例id", example = "7723")
     private String processInstanceId;
     private String processInstanceId;
 
 

+ 8 - 0
yudao-module-pms/yudao-module-pms-biz/src/main/java/cn/iocoder/yudao/module/pms/dal/dataobject/iotrhdailyreport/IotRhDailyReportDO.java

@@ -191,6 +191,14 @@ public class IotRhDailyReportDO extends BaseDO {
      * 状态(0启用 1禁用)
      * 状态(0启用 1禁用)
      */
      */
     private Integer status;
     private Integer status;
+    /**
+     * 故障情况
+     */
+    private String malfunction;
+    /**
+     * 故障误工h
+     */
+    private BigDecimal faultDowntime;
     /**
     /**
      * 流程实例id
      * 流程实例id
      */
      */

+ 8 - 0
yudao-module-pms/yudao-module-pms-biz/src/main/java/cn/iocoder/yudao/module/pms/dal/dataobject/iotrydailyreport/IotRyDailyReportDO.java

@@ -271,6 +271,14 @@ public class IotRyDailyReportDO extends BaseDO {
      * 状态(0启用 1禁用)
      * 状态(0启用 1禁用)
      */
      */
     private Integer status;
     private Integer status;
+    /**
+     * 故障情况
+     */
+    private String malfunction;
+    /**
+     * 故障误工h
+     */
+    private BigDecimal faultDowntime;
     /**
     /**
      * 流程实例id
      * 流程实例id
      */
      */