Commit e8cd8960 zshaohui

smdBox:入库完成标识:storageId改成cid

1 个父辈 086c9b2a
......@@ -40,11 +40,11 @@ public class SmdboxApi extends BaseSmfApiListener {
@Override
public void inTaskStatusChange(String inNotifyUrl, DataLog task) {
if (task.isFinished()) {
postInNotification(inNotifyUrl,task.getBarcode(),task.getStorageId());
postInNotification(inNotifyUrl,task.getBarcode(),task.getCid());
}
}
private boolean postInNotification(String url, String reelBarcode, String storageId) {
private boolean postInNotification(String url, String reelBarcode, String cid) {
try {
if (com.google.common.base.Strings.isNullOrEmpty(url)) {
......@@ -54,7 +54,7 @@ public class SmdboxApi extends BaseSmfApiListener {
Barcode barcode = barcodeManager.findByBarcode(reelBarcode);
Map<String, Object> params = new HashMap<String, Object>();
params.put("RI", reelBarcode);
params.put("LOC", storageId);
params.put("LOC", cid);
if (barcode != null) {
params.put("PN", barcode.getPartNumber());
params.put("QTY", barcode.getAmount());
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!