Browse Source

1.干线开标签逻辑修改

master
zhenghaoyu 9 months ago
parent
commit
670f58ee25
  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);
batchPackageCodeByType.forEach(item -> {
advanceDetailModel.setOrderPackageCode(item);
detailEntities.add(advanceDetailModel);
TrunklineAdvanceDetailEntity advanceDetailEntity = new TrunklineAdvanceDetailEntity();
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);
orderPackageCodes.forEach(orderPackageCode -> {
advanceDetailModel.setOrderPackageCode(orderPackageCode);
advanceDetailEntities.add(advanceDetailModel);
TrunklineAdvanceDetailEntity advanceDetailEntity = new TrunklineAdvanceDetailEntity();
BeanUtil.copy(advanceDetailModel, advanceDetailEntity);
advanceDetailEntity.setOrderPackageCode(orderPackageCode);
advanceDetailEntities.add(advanceDetailEntity);
});
}
}

Loading…
Cancel
Save