|
|
@@ -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));
|