Commit c45e9934 zshaohui

如果库位上没有料,使用库位尺寸传给客户端

1 个父辈 a5da98b1
...@@ -636,6 +636,15 @@ public class TaskService implements ITaskService { ...@@ -636,6 +636,15 @@ public class TaskService implements ITaskService {
} else { } else {
log.warn("出库无料仓位" + storage.getName() + "[" + posName + "]"); log.warn("出库无料仓位" + storage.getName() + "[" + posName + "]");
} }
if(plateW ==0 || plateH == 0){
StoragePos pos = storagePosManager.getByPosName(posName);
if (pos != null){
plateW = pos.getW();
plateH = pos.getH();
}
}
statusBean.addPosInfo(task.getBarcode(), posName, plateW, plateH, isSingleOut); statusBean.addPosInfo(task.getBarcode(), posName, plateW, plateH, isSingleOut);
log.info("出库" + storage.getName() + "[" + posName + "]物料[" + task.getBarcode() + "]" + isSingleOut + "发送到客户端" + cid); log.info("出库" + storage.getName() + "[" + posName + "]物料[" + task.getBarcode() + "]" + isSingleOut + "发送到客户端" + cid);
} }
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!