Commit 52d009e7 zshaohui

获取库位号,有任务直接ng

1 个父辈 fe90ddf1
...@@ -173,7 +173,8 @@ public class DeviceController { ...@@ -173,7 +173,8 @@ public class DeviceController {
// if(!dataLog.isPackageReel()){ // if(!dataLog.isPackageReel()){
//已经在任务当中,返回对应的信息 //已经在任务当中,返回对应的信息
if (dataLog.getBarcode().equals(barcode.getBarcode())) { if (dataLog.getBarcode().equals(barcode.getBarcode())) {
if (dataLog.isPutInTask()) { throw new ValidateException("smfcore.error.barcode.executing","条码[{0}}]任务正在执行",new String[]{barcode.getBarcode()});
/*if (dataLog.isPutInTask()) {
//已有入库任务 //已有入库任务
errorMsg = "物料[" + dataLog.getBarcode() + "]已有入库任务,需继续执行入库动作"; errorMsg = "物料[" + dataLog.getBarcode() + "]已有入库任务,需继续执行入库动作";
resultMap.put("pos", dataLog.getPosName()); resultMap.put("pos", dataLog.getPosName());
...@@ -204,7 +205,7 @@ public class DeviceController { ...@@ -204,7 +205,7 @@ public class DeviceController {
boolean smallReel = barcode.isSmallReel(); boolean smallReel = barcode.isSmallReel();
resultMap.put("smallReel", smallReel + ""); resultMap.put("smallReel", smallReel + "");
return resultMap; return resultMap;
} }*/
// } // }
} }
} }
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!