Commit 53c553a0 LN

COMPLETE改为COMPLETED

1 个父辈 3f7a3aa9
......@@ -456,7 +456,7 @@ public class LiteOrderCache {
log.info(" mode=" + order.getMode() + "的出库已结束,清空 key=" + key + " 的cache,更改action=COMPLETE");
dataCache.updateCache(key, "");
MicronApi.ActionUpdate(order.getOperationId(), MicronApi.COMPLETE);
MicronApi.ActionUpdate(order.getOperationId(), MicronApi.COMPLETED);
}
clearOrderLock(order);
}
......
......@@ -31,7 +31,7 @@ import java.util.*;
public class MicronApi {
// 每个流程开始时发START,流程正常结束发COMPLETE,流程异常结束发ABORT
public static String START="START";
public static String COMPLETE="COMPLETE";
public static String COMPLETED ="COMPLETED";
public static String ABORT="ABORT";
......@@ -764,7 +764,7 @@ public class MicronApi {
if (Debug) {
for (Barcode barcode :
barcodeList) {
resultMap.put(barcode.getBarcode(), new MaterialStatus(barcode.getBarcode(), barcode.getPartNumber(), "", "", true,"Available"));
resultMap.put(barcode.getBarcode(), new MaterialStatus(barcode.getBarcode(), barcode.getPartNumber(), "", "", true,"Reserved"));
}
return resultMap;
}
......
......@@ -36,7 +36,6 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import javax.servlet.http.HttpServletRequest;
import java.lang.reflect.Array;
import java.util.*;
@Slf4j
......@@ -309,7 +308,7 @@ public class LoadingController {
} else {
if (inList.getStatus() == INLIST_STATUS.OK){
log.info(" 入库单[" + inList.getName() + "]:任务已全部完成,清空当前loadinginfo,更改action=COMPLETE");
MicronApi.ActionUpdate(inList.getOperationId(),MicronApi.COMPLETE );
MicronApi.ActionUpdate(inList.getOperationId(),MicronApi.COMPLETED);
dataCache.updateCache(Constants.CACHE_LOADING, new LoadingInfo());
return ResultBean.newOkResult("");
}
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!