Commit bd25c3f1 zshaohui

1.工单出库 休眠10毫秒

2.入库的时候 直接保存到数据库
1 个父辈 2ef9a125
...@@ -1028,6 +1028,12 @@ public class LiteOrderCache { ...@@ -1028,6 +1028,12 @@ public class LiteOrderCache {
//9.开始挑料 //9.开始挑料
while (outReelCount < orderItem.getNeedReelCount() || outNumCount < orderItem.getNeedNum()) { while (outReelCount < orderItem.getNeedReelCount() || outNumCount < orderItem.getNeedNum()) {
try {
log.info("让当前线程休眠10毫秒");
Thread.sleep(10l);
} catch (InterruptedException e) {
e.printStackTrace();
}
//根据查询条件,查找新的库位 //根据查询条件,查找新的库位
boolean hasOutReel = false; boolean hasOutReel = false;
String warehouseCode = orderItem.getWarehouseCode(); //厂别 String warehouseCode = orderItem.getWarehouseCode(); //厂别
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!