Commit 22fe7bcc LN

1

1 个父辈 6a121bd7
...@@ -746,6 +746,7 @@ public class DataCache { ...@@ -746,6 +746,7 @@ public class DataCache {
} }
updateInOutData(cid, storage.getId(), 1); updateInOutData(cid, storage.getId(), 1);
} }
log.info("updateInventory, pos="+pos.getPosName()+",barcode="+barcode.getBarcode()+",pn="+partNumber+",amout="+amount);
allStorage.put(cid, storage); allStorage.put(cid, storage);
return updateInventoryAmount(cid, partNumber, amount,barcode.getBarcode()); return updateInventoryAmount(cid, partNumber, amount,barcode.getBarcode());
} }
......
...@@ -54,6 +54,9 @@ public class HaierIndiaSpApi extends BaseSmfApiListener { ...@@ -54,6 +54,9 @@ public class HaierIndiaSpApi extends BaseSmfApiListener {
if (ObjectUtil.isEmpty(url)) { if (ObjectUtil.isEmpty(url)) {
return false; return false;
} }
if(!task.isFinished()){
return false;
}
// 参数名 参数类型 备注 // 参数名 参数类型 备注
// data JSON 提交JSON数据集 // data JSON 提交JSON数据集
...@@ -85,7 +88,9 @@ public class HaierIndiaSpApi extends BaseSmfApiListener { ...@@ -85,7 +88,9 @@ public class HaierIndiaSpApi extends BaseSmfApiListener {
//回温放料,2 回温 //回温放料,2 回温
opType = 2; opType = 2;
} }
else if(task.isMixTask()&&task.isFinished()) {
opType = 3;//搅拌完成
}
if (opType == -1) { if (opType == -1) {
return false; return false;
} }
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!