|
|
@ -990,6 +990,7 @@ public class WcsIntegrationServiceImpl implements WcsIntegrationService { |
|
|
//如果是分次组托 说明在分拣 需要查下是否有相关订单 |
|
|
//如果是分次组托 说明在分拣 需要查下是否有相关订单 |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
Boolean boFlag="Y".equals(endFlag); |
|
|
//有常用料就有这个标记 |
|
|
//有常用料就有这个标记 |
|
|
boolean hasCommonlyUsed = newDetail.stream() |
|
|
boolean hasCommonlyUsed = newDetail.stream() |
|
|
.anyMatch(pallet -> "Y".equals(pallet.getIsCommonlyUsed())); |
|
|
.anyMatch(pallet -> "Y".equals(pallet.getIsCommonlyUsed())); |
|
|
@ -1013,7 +1014,7 @@ public class WcsIntegrationServiceImpl implements WcsIntegrationService { |
|
|
inData.setAutoSort(isAutoSort); |
|
|
inData.setAutoSort(isAutoSort); |
|
|
inData.setSoreType(soreType); |
|
|
inData.setSoreType(soreType); |
|
|
inData.setAssemblyPosition(locationCode); |
|
|
inData.setAssemblyPosition(locationCode); |
|
|
inData.setEndFlag(endFlag); |
|
|
|
|
|
|
|
|
inData.setEndFlag(boFlag); |
|
|
//明细根据点位拆分 |
|
|
//明细根据点位拆分 |
|
|
Map<String, List<PalletDetailData>> groupedHUs = newDetail.stream() |
|
|
Map<String, List<PalletDetailData>> groupedHUs = newDetail.stream() |
|
|
.collect(Collectors.groupingBy(hu -> |
|
|
.collect(Collectors.groupingBy(hu -> |
|
|
|