Browse Source

feat(all): 增加业务系统作业回推工厂

dist.1.3.0
zhaoqiaobo 9 months ago
parent
commit
79d55970a3
  1. 24
      blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/service/impl/TrunklineCarsLoadServiceImpl.java

24
blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/service/impl/TrunklineCarsLoadServiceImpl.java

@ -3719,30 +3719,6 @@ public class TrunklineCarsLoadServiceImpl extends BaseServiceImpl<TrunklineCarsL
carsLoadScanEntitiesMap.keySet().forEach(e -> { carsLoadScanEntitiesMap.keySet().forEach(e -> {
//判断是否有已经有order了 //判断是否有已经有order了
Long orderId = finalOrderCodes1.get(e); Long orderId = finalOrderCodes1.get(e);
List<TrunklineCarsLoadScanEntity> carsLoadScanList = carsLoadScanEntitiesMap.get(e);
if(ObjectUtil.isNull(orderId)){
//没有id
DistributionStockArticleEntity stockArticleEntity = stockArticleMap.get(e);
DistributionStockArticleEntity newStockArticleEntity = new DistributionStockArticleEntity();
BeanUtil.copy(stockArticleEntity,newStockArticleEntity);
newStockArticleEntity.setId(null);
newStockArticleEntity.setCreateUser(userId);
newStockArticleEntity.setUpdateUser(userId);
newStockArticleEntity.setWarehouseId(warehouseId);
newStockArticleEntity.setWarehouse(warehouseName);
newStockArticleEntity.setHandQuantity(0);
newStockArticleEntity.setIncomingNum(0);
newStockArticleEntity.setCreateUserName(nickName);
newStockArticleEntity.setOrderStatus("10");
newStockArticleEntity.setStockupStatus("10");
newStockArticleEntity.setReservationStatus("10");
newStockArticleEntity.setGroundingStatus("10");
newStockArticleEntity.setOrderReceiveStatus("10");
newStockArticleEntity.setFreezeStatus("10");
orderId = distributionStockArticleClient.addData(newStockArticleEntity);
finalOrderCodes1.put(e,orderId);
}
List<TrunklineCarsLoadScanEntity> carsLoadScanList = carsLoadScanEntitiesMap.get(e); List<TrunklineCarsLoadScanEntity> carsLoadScanList = carsLoadScanEntitiesMap.get(e);
Long finalOrderId = orderId; Long finalOrderId = orderId;

Loading…
Cancel
Save