Commit 7fb32445 zshaohui

1.优先从库位中查找尺寸

1 个父辈 e73f18ed
...@@ -532,7 +532,14 @@ public class TaskService { ...@@ -532,7 +532,14 @@ public class TaskService {
statusBean.setOp(OP.CHECKOUT); statusBean.setOp(OP.CHECKOUT);
String posName = task.getPosName(); String posName = task.getPosName();
Barcode codeObj = barcodeManager.findByBarcode(task.getBarcode()); Barcode codeObj = null;
StoragePos storagePos = storagePosManager.getByBarcode(task.getBarcode());
if (storagePos != null){
codeObj = storagePos.getBarcode();
}
if (codeObj == null) {
codeObj = barcodeManager.findByBarcode(task.getBarcode());
}
int plateW = 0; int plateW = 0;
int plateH = 0; int plateH = 0;
//是否是单盘出库,批量上下料使用 //是否是单盘出库,批量上下料使用
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!