Explorar o código

pms 5#国日报添加 故障情况

zhangcl hai 7 horas
pai
achega
2ba1cd2cf9

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

@@ -176,6 +176,14 @@ public class IotFiveDailyReportRespVO {
     @ExcelProperty("状态(2填写中 0待填写 1已完成)")
     private Integer status;
 
+    @Schema(description = "故障情况")
+    @ExcelProperty("故障情况")
+    private String malfunction;
+
+    @Schema(description = "故障误工h")
+    @ExcelProperty("故障误工h")
+    private BigDecimal faultDowntime;
+
     @Schema(description = "流程实例id", example = "187")
     @ExcelProperty("流程实例id")
     private String processInstanceId;

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

@@ -132,6 +132,12 @@ public class IotFiveDailyReportSaveReqVO {
     @Schema(description = "状态(2填写中 0待填写 1已完成)", example = "2")
     private Integer status;
 
+    @Schema(description = "故障情况")
+    private String malfunction;
+
+    @Schema(description = "故障误工h")
+    private BigDecimal faultDowntime;
+
     @Schema(description = "流程实例id", example = "187")
     private String processInstanceId;
 

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

@@ -190,6 +190,14 @@ public class IotFiveDailyReportDO extends BaseDO {
      * 状态(2填写中 0待填写 1已完成)
      */
     private Integer status;
+    /**
+     * 故障情况
+     */
+    private String malfunction;
+    /**
+     * 故障误工h
+     */
+    private BigDecimal faultDowntime;
     /**
      * 流程实例id
      */