|
|
|
@ -1818,8 +1818,10 @@ public class OpenOrderServiceImpl implements IOpenOrderService {
|
|
|
|
|
hasOrderPackageCodeList.addAll(hasOrderPackageCodes); |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
List<TrunklineAdvanceDetailEntity> updateMaterialList = new ArrayList<>(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(CollUtil.isNotEmpty(hasOrderPackageCodeList)){ |
|
|
|
|
List<TrunklineAdvanceDetailEntity> updateMaterialList = new ArrayList<>(); |
|
|
|
|
//把importStandardOuPaiDTOS转化成orderPackageCode为key的Map
|
|
|
|
|
Map<String, ImportStandardOuPaiDTO> importStandardOuPaiDTOMap = importStandardOuPaiDTOS.stream().collect(Collectors.toMap(ImportStandardOuPaiDTO::getOrderPackageCode, Function.identity(), (a, b) -> a)); |
|
|
|
|
List<TrunklineAdvanceDetailEntity> hasAdvanceDetailList = advanceDetailService.findListByOrderPackageCodeList(hasOrderPackageCodeList); |
|
|
|
|