|
|
|
@ -395,6 +395,7 @@ public class WarehouseWaybillServiceImpl extends BaseServiceImpl<WarehouseWaybil
|
|
|
|
|
List<DistributionStockArticleEntity> articleList = distributionStockArticleClient.likeOrderSelfNumbering(orderSelfNum); |
|
|
|
|
List<DistributionParcelListEntity> parcelListEntityList = distributionParcelListClient.findEntityListByOrderCode(orderSelfNum, warehouseId); |
|
|
|
|
int size = articleList.size(); |
|
|
|
|
Integer subNum = 0; |
|
|
|
|
for (int i = 0; i < splitOrderDTOList.size(); i++) { |
|
|
|
|
SplitOrderDTO splitOrderDTO = splitOrderDTOList.get(i); |
|
|
|
|
DistributionStockArticleEntity entity = new DistributionStockArticleEntity(); |
|
|
|
@ -497,9 +498,13 @@ public class WarehouseWaybillServiceImpl extends BaseServiceImpl<WarehouseWaybil
|
|
|
|
|
log.warn("###########splitOrder: 减掉包件数量失败 articleId={},productName={},num={}", articleId, productName, num); |
|
|
|
|
throw new CustomerException(405, "减掉包件数量失败"); |
|
|
|
|
} |
|
|
|
|
subNum = subNum + num; |
|
|
|
|
} |
|
|
|
|
size++; |
|
|
|
|
} |
|
|
|
|
//减去零担零担上的在库件数
|
|
|
|
|
distributionStockArticleClient.submitHandleNumByOrderId(subNum,articleId); |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|