qiangxuan 4 недель назад
Родитель
Сommit
030b037971

+ 0 - 2
zgztBus/jeecg-module-sbm/src/main/java/org/jeecg/modules/billet/billetHotsendChangeShift/controller/BilletHotsendChangeShiftController.java

@@ -731,7 +731,6 @@ public class BilletHotsendChangeShiftController extends JeecgController<BilletHo
 				.between(BilletBasicInfo::getCreateTime, billetHotsendChangeShift.getCreateTime(), billetHotsendChangeShift.getChangeShiftTime());
 		List<BilletBasicInfo> billetBasicInfoList = billetBasicInfoService.list(queryWrapper1);
 		if (oConvertUtils.listIsEmpty(billetBasicInfoList)){
-			log.info("{}{}", "查询班次实绩吊运明细,钢坯基础信息为空!", billetHotsendChangeShift.getCcmNo());
 			return;
 		}
 		// 班次吊运信息
@@ -744,7 +743,6 @@ public class BilletHotsendChangeShiftController extends JeecgController<BilletHo
 				.groupBy(BilletLiftingBill::getVehicleNumber);
 		List<BilletLiftingBill> billetLiftingBillList = billetLiftingBillService.list(queryWrapper2);
 		if (oConvertUtils.listIsEmpty(billetLiftingBillList)){
-			log.info("{}{}", "查询当班行车吊运信息为空!", new Date());
 			return;
 		}
 		List<String> vehicleNumberList = billetLiftingBillList.stream().map(BilletLiftingBill::getVehicleNumber).collect(Collectors.toList());

+ 0 - 13
zgztBus/jeecg-module-sbm/src/main/java/org/jeecg/modules/billet/storageBill/service/impl/StorageBillServiceImpl.java

@@ -1501,7 +1501,6 @@ public class StorageBillServiceImpl extends ServiceImpl<StorageBillMapper, Stora
         }
         List<BilletLiftingBill> billetLiftingBillList = billetLiftingBillService.list(queryWrapper2);
         if (oConvertUtils.listIsEmpty(billetLiftingBillList)){
-            log.info("{}{}", "查询当班行车吊运信息为空!", ccmNo + "失败时间:" + new Date());
             return onDutyLiftingBillInfo;
         }
         List<String> vehicleNumberList = billetLiftingBillList.stream().map(BilletLiftingBill::getVehicleNumber).collect(Collectors.toList());
@@ -1624,7 +1623,6 @@ public class StorageBillServiceImpl extends ServiceImpl<StorageBillMapper, Stora
         }
         List<StorageBill> storageBillList = baseMapper.selectList(queryWrapper2);
         if (oConvertUtils.listIsEmpty(storageBillList)){
-            log.info("{}{}", "查询当班装运单信息为空!", ccmNo);
             return onDutyStorageBill;
         }
         List<OnDutyStorageBillInfo> onDutyStorageBillInfos = new ArrayList<>();
@@ -1740,7 +1738,6 @@ public class StorageBillServiceImpl extends ServiceImpl<StorageBillMapper, Stora
         }
         List<StorageBill> storageBillList = baseMapper.selectList(queryWrapper2);
         if (oConvertUtils.listIsEmpty(storageBillList)){
-            log.info("{}{}", "查询当班装运单信息为空!", ccmNo);
             return onDutyStorageBillStatistics;
         }
         int allCarNum = storageBillList.size();
@@ -2481,7 +2478,6 @@ public class StorageBillServiceImpl extends ServiceImpl<StorageBillMapper, Stora
                     .last("limit 1");
             billetHotsendChangeShift = billetHotsendChangeShiftService.getOne(queryWrapper);
             if (billetHotsendChangeShift == null){
-                log.info("查询当班装运单信息失败,交班记录为空!{} 失败时间:{}", ccmNo, new Date());
                 return storageBillStatistics;
             }
         }else {
@@ -2490,14 +2486,11 @@ public class StorageBillServiceImpl extends ServiceImpl<StorageBillMapper, Stora
             queryWrapper.eq(BilletHotsendChangeShift::getId, changeShiftId).eq(BilletHotsendChangeShift::getCcmNo, ccmNo);
             billetHotsendChangeShift = billetHotsendChangeShiftService.getOne(queryWrapper);
             if (billetHotsendChangeShift == null){
-                log.info("查询当班历史装运单信息失败,交班记录为空!{} 失败时间:{}", ccmNo, new Date());
                 return storageBillStatistics;
             }
             shiftGroup = billetHotsendChangeShift.getShiftGroup();
             shift = billetHotsendChangeShift.getShift();
         }
-        log.info("{}{}", "当班班组班别:", shiftGroup+"#"+shift);
-        log.info("{}{}", "当班信息:", JSON.toJSON(billetHotsendChangeShift));
 
         storageBillStatistics.setShift(ShiftEnum.fromCode(shift).name());
         storageBillStatistics.setShiftGroup(ShiftGroupEnum.fromCode(shiftGroup).name());
@@ -2517,7 +2510,6 @@ public class StorageBillServiceImpl extends ServiceImpl<StorageBillMapper, Stora
         }
         List<StorageBill> storageBillList = baseMapper.selectList(queryWrapper2);
         if (oConvertUtils.listIsEmpty(storageBillList)){
-            log.info("{}{}", "查询当班装运单信息为空!", ccmNo);
             storageBillStatistics.setStorageSum(0);
             storageBillStatistics.setStorageTotalWeight(0.0);
             storageBillStatistics.setRollClubTwoSum(0);
@@ -2539,7 +2531,6 @@ public class StorageBillServiceImpl extends ServiceImpl<StorageBillMapper, Stora
         List<RollClubThreeDetails> rollClubThreeDetailsListAll = new ArrayList<>();
         List<RollOutShippDetails> rollOutShippDetailsListAll = new ArrayList<>();
 
-        log.info("{}{}", "当班所有装运单信息:", JSON.toJSON(storageBillList));
         for (StorageBill storageBill : storageBillList) {
             if ("棒二".equals(storageBill.getDestination())) {
                 LambdaQueryWrapper<RollClubTwoDetails> queryWrapper3 = new LambdaQueryWrapper<>();
@@ -2698,7 +2689,6 @@ public class StorageBillServiceImpl extends ServiceImpl<StorageBillMapper, Stora
                     .last("limit 1");
             billetHotsendChangeShift = billetHotsendChangeShiftService.getOne(queryWrapper);
             if (billetHotsendChangeShift == null){
-                log.info("{}{}", "查询当班定尺明细,明细记录为空!", ccmNo + "失败时间:" + new Date());
                 return list;
             }
         }else {
@@ -6974,7 +6964,6 @@ public class StorageBillServiceImpl extends ServiceImpl<StorageBillMapper, Stora
                 .last("limit 1");
         billetHotsendChangeShift = billetHotsendChangeShiftService.getOne(queryWrapper);
         if (billetHotsendChangeShift == null){
-            log.info("{}{}", "查询当班装运单信息失败,交班记录为空!", ccmNo + "失败时间:" + new Date());
             return onDutyColdChargeVo;
         }
 
@@ -7083,7 +7072,6 @@ public class StorageBillServiceImpl extends ServiceImpl<StorageBillMapper, Stora
                     .last("limit 1");
             billetHotsendChangeShift = billetHotsendChangeShiftService.getOne(queryWrapper);
             if (billetHotsendChangeShift == null){
-                log.info("{}{}", "查询当班装运单信息失败,交班记录为空!", ccmNo + "失败时间:" + new Date());
                 return onDutySteelVo;
             }
         }else {
@@ -7092,7 +7080,6 @@ public class StorageBillServiceImpl extends ServiceImpl<StorageBillMapper, Stora
             queryWrapper.eq(BilletHotsendChangeShift::getId, changeShiftId).eq(BilletHotsendChangeShift::getCcmNo, ccmNo);
             billetHotsendChangeShift = billetHotsendChangeShiftService.getOne(queryWrapper);
             if (billetHotsendChangeShift == null){
-                log.info("{}{}", "查询历史当班装运单信息失败,交班记录为空!", ccmNo + "失败时间:" + new Date());
                 return onDutySteelVo;
             }
             shiftGroup = billetHotsendChangeShift.getShiftGroup();