Commit d1b0ec1c zshaohui

1.工单挑料 bug 修改

1 个父辈 c37fb9a5
...@@ -606,10 +606,19 @@ public class LiteOrderCache { ...@@ -606,10 +606,19 @@ public class LiteOrderCache {
//先调用tower发料 //先调用tower发料
String result = lizhenApi.towerCheck(task); String result = lizhenApi.towerCheck(task);
if (StringUtils.isEmpty(result)){ if (StringUtils.isEmpty(result)){
assignReelCount = assignReelCount + 1;
taskReelCount = taskReelCount + 1;
log.info("工单[" + orderNo + "],任务数[" + taskReelCount + "]出库位置仓位【" + pos.getPosName() + "】RI=[" + pos.getBarcode().getBarcode() + "] PN=[" + partNumber + "] num:" + pos.getBarcode().getAmount()); log.info("工单[" + orderNo + "],任务数[" + taskReelCount + "]出库位置仓位【" + pos.getPosName() + "】RI=[" + pos.getBarcode().getBarcode() + "] PN=[" + partNumber + "] num:" + pos.getBarcode().getAmount());
taskService.addTaskToExecute(task);
try {
taskService.addTaskToExecute(task);
assignReelCount = assignReelCount + 1;
taskReelCount = taskReelCount + 1;
}catch (Exception e){
log.info(orderNo+"工单添加任务失败:"+e.getMessage());
excludePosIds.add(pos.getId());
}
//Barcode barcode = pos.getBarcode(); //Barcode barcode = pos.getBarcode();
//barcode.setAskPutIn(false); //barcode.setAskPutIn(false);
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!