update:
删除bug修改
This commit is contained in:
parent
2def9c889f
commit
ef0ba77715
@ -473,6 +473,13 @@ public class CurrTaskServiceImpl extends BaseService implements CurrTaskService
|
||||
autoExeTaskServiceBiz.removeById(currTask.getAutoExeTaskId());
|
||||
for (CurrTask currTask1:currTaskList
|
||||
) {
|
||||
InStockInfo inStockInfo = inStockInfoServiceBiz.getOne(new QueryWrapper<InStockInfo>().eq(InStockInfo.TASK_ID, currTask1.getId()));
|
||||
if (inStockInfo!=null){
|
||||
Location location = locationServiceBiz.getById(inStockInfo.getLocationId());
|
||||
location.setStatus(0);
|
||||
locationServiceBiz.updateById(location);
|
||||
inStockInfoServiceBiz.removeById(inStockInfo);
|
||||
}
|
||||
currTaskDetServiceBiz.remove(new QueryWrapper<CurrTaskDet>().eq(CurrTaskDet.CURR_TASK_ID,currTask1.getId()));
|
||||
currTaskServiceBiz.removeById(currTask1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user