Browse Source

pms 瑞恒 自动生成日报,动迁 默认赋值 生产配合 24小时

zhangcl 4 ngày trước cách đây
mục cha
commit
85eb5762ba

+ 2 - 2
yudao-module-pms/yudao-module-pms-biz/src/main/java/cn/iocoder/yudao/module/pms/service/iotrhdailyreport/IotRhDailyReportServiceImpl.java

@@ -301,7 +301,7 @@ public class IotRhDailyReportServiceImpl implements IotRhDailyReportService {
                 iotRhDailyReport.setStatus(1);
                 iotRhDailyReport.setAuditStatus(20);
                 // 如果是自动生成的日报 需要根据规则设备 非生产时间
-                // 设备状态为 "动迁" 时,系统生成的日报里面,非生产时间内的 "生产组织"(rectification_time) 时间为24小时;
+                // 设备状态为 "动迁" 时,系统生成的日报里面,非生产时间内的 "生产配合"(relocation_time) 时间为24小时;
                 // 设备状态为 "完工" 时,系统生成的日报里面,非生产时间内的 "待命"(winter_break_time) 时间为24小时
                 Set<String> dqStatuses = new HashSet<>();
                 Set<String> wgStatuses = new HashSet<>();
@@ -314,7 +314,7 @@ public class IotRhDailyReportServiceImpl implements IotRhDailyReportService {
                     }
                 });
                 if (CollUtil.isNotEmpty(dqStatuses)) {
-                    iotRhDailyReport.setRectificationTime(BigDecimal.valueOf(24));
+                    iotRhDailyReport.setRelocationTime(BigDecimal.valueOf(24));
                 }
                 if (CollUtil.isNotEmpty(wgStatuses)) {
                     iotRhDailyReport.setWinterBreakTime(BigDecimal.valueOf(24));