qiangxuan 2 mesiacov pred
rodič
commit
9914fe3c3c

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

@@ -1629,8 +1629,7 @@ public class StorageBillServiceImpl extends ServiceImpl<StorageBillMapper, Stora
             log.info("{}{}", "查询当班装运单信息为空!", ccmNo);
             return onDutyStorageBillStatistics;
         }
-        Integer allCarNum = storageBillList.stream().map(StorageBill::getCarNum).reduce(0, Integer::sum);
-
+        int allCarNum = storageBillList.size();
         List<DestinationStatisticsDetails> statisticsDetailsList1 = new ArrayList<>();
         List<DestinationStatisticsDetails> statisticsDetailsList2 = new ArrayList<>();
         List<DestinationStatisticsDetails> statisticsDetailsList3 = new ArrayList<>();