diff --git a/6.program/wms-empty/src/main/java/com/mt/wms/empty/task/AsynRunTaskService.java b/6.program/wms-empty/src/main/java/com/mt/wms/empty/task/AsynRunTaskService.java index cdcab79..02a6651 100644 --- a/6.program/wms-empty/src/main/java/com/mt/wms/empty/task/AsynRunTaskService.java +++ b/6.program/wms-empty/src/main/java/com/mt/wms/empty/task/AsynRunTaskService.java @@ -346,6 +346,9 @@ public class AsynRunTaskService extends BaseService { } } } else { + //修改库位状态 + location.setStatus(0); + locationServiceBiz.updateById(location); //任务失败清除缓存库位信息 inStockInfoServiceBiz.removeById(inStockInfo); runTask.setStatus(3);