Commit 76f24598 LN

清理料架bug修改。

1 个父辈 5070de4b
......@@ -367,7 +367,7 @@ public class TaskShelfController {
}
}
}
else if(ObjectUtil.isEmpty(rfid)){
else if(ObjectUtil.isNotEmpty(rfid)){
ShelfInfo shelfInfo = TaskShelfUtil.findShelfByRealRfid(rfid);
if (shelfInfo == null) {
log.info("clearRfid rfid[" + rfid + "]");
......@@ -391,6 +391,27 @@ public class TaskShelfController {
}
@GetMapping(value = "/viewTaskShelfInfo")
@AnonymousAccess
public ResultBean viewTaskShelfInfo() {
String msg="";
Map<String, Map<String, ShelfInfo>> map=TaskShelfUtil.taskShelfMap;
if(map!=null) {
for (String hSerial :
map.keySet()) {
Map<String, ShelfInfo> map2 = map.get(hSerial);
for (String tempRfid :
map2.keySet()) {
ShelfInfo shelfInfo=map2.get(tempRfid);
msg+="hSerial="+hSerial+",tempRfid="+tempRfid+",realRfid="+shelfInfo.getRealRfid()+"\r\n";
}
}
}
return ResultBean.newOkResult(msg);
}
// @ApiOperation("产线扫码亮灯,返回条码放到料架的位置:1-31")
// @PostMapping(value = "/codeLed")
// @ResponseBody
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!