Browse Source

标签使用的功能 BUG修复

master
DouDou 2 years ago
parent
commit
c8aa325f0a
  1. 15
      src/main/java/com/spring/modules/schedule/service/impl/ScheduleServiceImpl.java

15
src/main/java/com/spring/modules/schedule/service/impl/ScheduleServiceImpl.java

@ -543,15 +543,16 @@ public class ScheduleServiceImpl<main> 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);

Loading…
Cancel
Save