Commit adddb51c zshaohui

odn出库 卡控hold料箱

1 个父辈 0f7a45ff
...@@ -1565,6 +1565,11 @@ public class LiteOrderCache { ...@@ -1565,6 +1565,11 @@ public class LiteOrderCache {
excludePosIds.add(dataLog.getId()); excludePosIds.add(dataLog.getId());
} }
} }
if (holdPosIdList != null && !holdPosIdList.isEmpty()){
for (String holdPosId : holdPosIdList) {
excludePosIds.add(holdPosId);
}
}
//查找符合条件的库位 //查找符合条件的库位
Criteria c = Criteria.where("barcode.partNumber").is(pn) Criteria c = Criteria.where("barcode.partNumber").is(pn)
...@@ -2288,6 +2293,10 @@ public class LiteOrderCache { ...@@ -2288,6 +2293,10 @@ public class LiteOrderCache {
List<StoragePos> posList = storagePosManager.findByQuery(new Query(c)); List<StoragePos> posList = storagePosManager.findByQuery(new Query(c));
if (posList != null && !posList.isEmpty()) { if (posList != null && !posList.isEmpty()) {
for (StoragePos pos : posList) { for (StoragePos pos : posList) {
Barcode barcode = pos.getBarcode();
if (barcode != null){
log.info(barcode.getBarcode()+"为hold料,库位为:"+pos.getPosName()+",栈板ID为:"+barcode.getPalletId());
}
holdPosIdList.add(pos.getId()); holdPosIdList.add(pos.getId());
} }
} }
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!