|
@@ -142,9 +142,10 @@ public class BusinessServiceImpl implements IBusinessService {
|
|
|
if (flowConfigHeaderVO.getFlowType().equals("ASN")) {
|
|
|
// 统计入库箱数
|
|
|
List<AgvCallItemDTO> agvCallItemDTOList = agvCallDTO.getAgvCallItemDTOList();
|
|
|
- int boxNum = agvCallItemDTOList.stream()
|
|
|
- .mapToInt(v -> v.getQty().intValue())
|
|
|
- .reduce(Integer::sum).getAsInt();
|
|
|
+ int boxNum = agvCallItemDTOList.size();
|
|
|
+// int boxNum = agvCallItemDTOList.stream()
|
|
|
+// .mapToInt(v -> v.getQty().intValue())
|
|
|
+// .reduce(Integer::sum).getAsInt();
|
|
|
asnSoStrategy.setAsnHeightLimit(boxNum + "");
|
|
|
log.info("统计箱数量:" + boxNum);
|
|
|
|