Commit e1e24c6d LN

bug修改

1 个父辈 a5760305
...@@ -841,6 +841,10 @@ public class BarcodeRule { ...@@ -841,6 +841,10 @@ public class BarcodeRule {
rule="EXPDATEyyMMdd[12:0:-1]|BATCH[2:0:-1]|QTY[2:0:-1]|RI[2:0:-1]|PN[1:0:-1]|MPN[-1:0:2]"; rule="EXPDATEyyMMdd[12:0:-1]|BATCH[2:0:-1]|QTY[2:0:-1]|RI[2:0:-1]|PN[1:0:-1]|MPN[-1:0:2]";
// rule="PN[1:0:-1]|BATCH[2:0:-1]|LOT[2:0:-1]|QTY[2_7Q:0:-1]|RI[1:0:-1]|SP[3:0:-1]|PRODATEyyyyMMdd[2:0:-1]|xxx"; // rule="PN[1:0:-1]|BATCH[2:0:-1]|LOT[2:0:-1]|QTY[2_7Q:0:-1]|RI[1:0:-1]|SP[3:0:-1]|PRODATEyyyyMMdd[2:0:-1]|xxx";
rule="SP*PN*BATCH*QTY*xxx[RI]";
codeStr="998168*340093000002*3506*3000*200188890";
// codeStr="woerweoruweorwer*wrwerwerwe";
BarcodeRule br = BarcodeRule.newRule(rule); BarcodeRule br = BarcodeRule.newRule(rule);
Barcode b = br.toCodeBean(codeStr).getBarcode(); Barcode b = br.toCodeBean(codeStr).getBarcode();
if(b != null){ if(b != null){
......
...@@ -61,6 +61,7 @@ public class TaskShelfController { ...@@ -61,6 +61,7 @@ public class TaskShelfController {
//302=任务已完成 //302=任务已完成
//304=获取任务位置失败 //304=获取任务位置失败
log.info("getLocation rfid["+rfid+"],barcode["+codeStr+"]");
Barcode barcode =null; Barcode barcode =null;
try { try {
barcode = codeResolve.resolveOneValideBarcode(codeStr); barcode = codeResolve.resolveOneValideBarcode(codeStr);
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!