|
|
|
@ -1127,9 +1127,9 @@ public class TrunklineCarsLoadServiceImpl extends BaseServiceImpl<TrunklineCarsL
|
|
|
|
|
//卸车数大于实际装车数
|
|
|
|
|
throw new CustomerException(405,"零担订单"+orderCode+"卸车件数已大于实际装车件数,请去调整补录"); |
|
|
|
|
}else { |
|
|
|
|
if(unloadNum < realNum){ |
|
|
|
|
distributionStockArticleClient.addHandQuantity(stockArticleEntity.getId(),realNum-unloadNum); |
|
|
|
|
} |
|
|
|
|
// if(unloadNum < realNum){
|
|
|
|
|
// distributionStockArticleClient.addHandQuantity(stockArticleEntity.getId(),realNum-unloadNum);
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
DistributionStockArticleEntity newStockArticleEntity = distributionStockArticleClient.findStockArticleByOrderCodeAndWarehouseId(orderCode, warehouseId); |
|
|
|
|
if (Objects.isNull(newStockArticleEntity)) { |
|
|
|
@ -4554,7 +4554,7 @@ public class TrunklineCarsLoadServiceImpl extends BaseServiceImpl<TrunklineCarsL
|
|
|
|
|
// carsLoadAsyncService.dealwithAfterAbnormalPackage(e.getOrderPackageCode(), warehouseId, warehouseName, carsLoadEntity.getCarsNo(), userId, deptId, nickName);
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
String content = "包件在 " + warehouseName + "卸车,卸车方式:" + IncomingTypeEnum.getValue(incomingType); |
|
|
|
|
String content = "包件在 " + warehouseName + "卸车,车次号:"+carsNo+",卸车方式:" + IncomingTypeEnum.getValue(incomingType); |
|
|
|
|
|
|
|
|
|
List<WarehousePackageTrackLogEntity> list = new ArrayList<>(); |
|
|
|
|
orderPackageCodes.forEach(orderPackageCode -> { |
|
|
|
|