任务执行失败缓存区状态回滚
This commit is contained in:
parent
be0ffcae00
commit
e3d17d1923
@ -346,6 +346,9 @@ public class AsynRunTaskService extends BaseService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
//修改库位状态
|
||||||
|
location.setStatus(0);
|
||||||
|
locationServiceBiz.updateById(location);
|
||||||
//任务失败清除缓存库位信息
|
//任务失败清除缓存库位信息
|
||||||
inStockInfoServiceBiz.removeById(inStockInfo);
|
inStockInfoServiceBiz.removeById(inStockInfo);
|
||||||
runTask.setStatus(3);
|
runTask.setStatus(3);
|
||||||
|
Loading…
Reference in New Issue
Block a user