diff --git a/src/main/java/com/spring/modules/schedule/service/impl/ScheduleServiceImpl.java b/src/main/java/com/spring/modules/schedule/service/impl/ScheduleServiceImpl.java index eeb5164..a0cabd2 100644 --- a/src/main/java/com/spring/modules/schedule/service/impl/ScheduleServiceImpl.java +++ b/src/main/java/com/spring/modules/schedule/service/impl/ScheduleServiceImpl.java @@ -543,15 +543,16 @@ public class ScheduleServiceImpl
implements ScheduleService { printMap.put("materialTime", materialTime); printMap.put("expiredTime", expiredTime); printMap.put("reheatingNums", reheatingNums); + + //获取暴露时间的小时数 + Integer exposureHours = exposureMinutes/60; + Integer remainderNums = exposureMinutes%60; + if(remainderNums > 0){ + exposureHours++; + } + printMap.put("exposureHours", exposureHours+""); //判断当前的数据是否已经存在了相关的批次号 if(null == systemBatchNo || "".equals(systemBatchNo) || null == rawMaterialBatchNo || "".equals(rawMaterialBatchNo)){ - //获取暴露时间的小时数 - Integer exposureHours = exposureMinutes/60; - Integer remainderNums = exposureMinutes%60; - if(remainderNums > 0){ - exposureHours++; - } - printMap.put("exposureHours", exposureHours+""); //查询当前卷信息 //获取时间的部分编码 String sixTimeCode = this.getFqcSixTimeCode(stockTime);