Browse Source

Merge branch 'dev' into pre-production

master
zhenghaoyu 9 months ago
parent
commit
6695a5eda1
  1. 12
      blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/service/impl/OpenOrderServiceImpl.java

12
blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/service/impl/OpenOrderServiceImpl.java

@ -1017,8 +1017,10 @@ public class OpenOrderServiceImpl implements IOpenOrderService {
List<String> batchPackageCodeByType = basicdataCodeClient.getBatchPackageCodeByType(warehouseCode, orderCode, totalNumber); List<String> batchPackageCodeByType = basicdataCodeClient.getBatchPackageCodeByType(warehouseCode, orderCode, totalNumber);
batchPackageCodeByType.forEach(item -> { batchPackageCodeByType.forEach(item -> {
advanceDetailModel.setOrderPackageCode(item); TrunklineAdvanceDetailEntity advanceDetailEntity = new TrunklineAdvanceDetailEntity();
detailEntities.add(advanceDetailModel); BeanUtil.copy(advanceDetailModel,advanceDetailEntity);
advanceDetailEntity.setOrderPackageCode(item);
detailEntities.add(advanceDetailEntity);
}); });
@ -1972,8 +1974,10 @@ public class OpenOrderServiceImpl implements IOpenOrderService {
List<String> orderPackageCodes = basicdataCodeClient.getBatchPackageCodeByType(warehouseCode, orderCode, totalNum); List<String> orderPackageCodes = basicdataCodeClient.getBatchPackageCodeByType(warehouseCode, orderCode, totalNum);
orderPackageCodes.forEach(orderPackageCode -> { orderPackageCodes.forEach(orderPackageCode -> {
advanceDetailModel.setOrderPackageCode(orderPackageCode); TrunklineAdvanceDetailEntity advanceDetailEntity = new TrunklineAdvanceDetailEntity();
advanceDetailEntities.add(advanceDetailModel); BeanUtil.copy(advanceDetailModel, advanceDetailEntity);
advanceDetailEntity.setOrderPackageCode(orderPackageCode);
advanceDetailEntities.add(advanceDetailEntity);
}); });
} }
} }

Loading…
Cancel
Save