|
|
|
@ -918,7 +918,7 @@ public class NewIssureServiceImpl implements NewIssureService { |
|
|
|
|
|
|
|
// 构建NotifyDataToWcsPalletList - rqrq |
|
|
|
NotifyDataToWcsPalletList palletData = new NotifyDataToWcsPalletList(); |
|
|
|
palletData.setPalletBarcode(palletId); |
|
|
|
palletData.setPalletCode(palletId); |
|
|
|
|
|
|
|
List<NotifyDataToWcsPalletSubDetail> subDetailList = new ArrayList<>(); |
|
|
|
for (Map.Entry<String, Map<Integer, List<String>>> posEntry : groupedByPositionLayer.entrySet()) { |
|
|
|
@ -930,18 +930,18 @@ public class NewIssureServiceImpl implements NewIssureService { |
|
|
|
NotifyDataToWcsPalletSubDetail subDetail = new NotifyDataToWcsPalletSubDetail(); |
|
|
|
subDetail.setPosition(Integer.parseInt(position)); |
|
|
|
subDetail.setLayer(layer); |
|
|
|
subDetail.setSerialNos(serialNos); |
|
|
|
subDetail.setRfidBarcodes(serialNos); |
|
|
|
|
|
|
|
subDetailList.add(subDetail); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
palletData.setDetail(subDetailList); |
|
|
|
palletData.setMaterials(subDetailList); |
|
|
|
palletList.add(palletData); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
wcsData.setPalletList(palletList); |
|
|
|
wcsData.setMaterialRequisitions(palletList); |
|
|
|
System.out.println("构建WCS数据完成,栈板数:" + palletList.size() + " - rqrq"); |
|
|
|
|
|
|
|
// 6.8 先调用WCS接口(成功后再执行数据库操作)- rqrq |
|
|
|
|