Browse Source

批量签收异常

dist.1.3.0
汤建军 6 months ago
parent
commit
ecd6b8f32f
  1. 4
      blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionSignforServiceImpl.java

4
blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionSignforServiceImpl.java

@ -5414,14 +5414,18 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl<Distribution
if (packageLoadingData.isEmpty() && inventoryLoadingData.isEmpty()) {
return Resp.scanFail("当前客户未进行装车操作", "当前客户未进行装车操作");
}
log.info(">>>>>>>>>>>>>>>>>>>开始批量装车:{}", distributionSignforEntity.getDeliveryId());
try {
if (!packageLoadingData.isEmpty()) {
log.info(">>>>>>>>>>>>>>>>>>>开始批量装车,处理装车包件:{}", distributionSignforEntity.getDeliveryId());
receivedQuantity += packageLoadingData.stream().mapToInt(DistributionLoadscanEntity::getPackageNub).sum();
//进行订制品和零担的批量签收
handlePackageLoadingData(packageLoadingData, user, distributionLoadscanEntityLists, orderCodes);
}
if (!inventoryLoadingData.isEmpty()) {
log.info(">>>>>>>>>>>>>>>>>>>开始批量装车,处理装车库存品:{}", distributionSignforEntity.getDeliveryId());
receivedinQuantity += inventoryLoadingData.stream().mapToInt(DistributionLoadscaninvnEntity::getPackageNub).sum();
//进行订制品和零担的批量签收
handleInventoryLoadingData(inventoryLoadingData, user, distributionLoadscaninvnEntityLists);

Loading…
Cancel
Save