Commit ce4877e4 LN

启用api时,若没loading提示:No select for ML5 Loading

1 个父辈 c69c9acd
...@@ -867,7 +867,11 @@ public class RobotBoxHandler extends BaseDeviceHandler { ...@@ -867,7 +867,11 @@ public class RobotBoxHandler extends BaseDeviceHandler {
String operationId = ""; String operationId = "";
InList inList = loadingUtil.getInlist(); InList inList = loadingUtil.getInlist();
if (inList == null) { if (inList == null) {
return barcode;
log.error("启用API,且未找到入库单,提示:No select for ML5 Loading");
//如果启用api,且没有入库单,需要报警提示:No select for ML5 Loading
throw new ValidateException("smfcore.noSelectForML5Loading","No select for ML5 Loading");
// return barcode;
} }
if (!inList.isValidRfid(rfid)) { if (!inList.isValidRfid(rfid)) {
return barcode; return barcode;
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!