Merge branch 'master' of http://git.picaiba.com/mt-ck/mt-qj-wms-hd
This commit is contained in:
commit
03d2e453fb
@ -251,6 +251,9 @@ public class AsynRunTaskService extends BaseService {
|
|||||||
// 记录开始加工时的消耗值
|
// 记录开始加工时的消耗值
|
||||||
asynStartRecordConsume(currTaskId, currTask.getKilnId());
|
asynStartRecordConsume(currTaskId, currTask.getKilnId());
|
||||||
} else {
|
} else {
|
||||||
|
//修改缓存区存储情况表状态
|
||||||
|
inStockInfo.setStatus(0);
|
||||||
|
inStockInfoServiceBiz.updateById(inStockInfo);
|
||||||
runTask.setStatus(3);
|
runTask.setStatus(3);
|
||||||
runTask.setUpdateTime(LocalDateTime.now());
|
runTask.setUpdateTime(LocalDateTime.now());
|
||||||
runTaskServiceBiz.updateById(runTask);
|
runTaskServiceBiz.updateById(runTask);
|
||||||
@ -336,6 +339,8 @@ public class AsynRunTaskService extends BaseService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
//任务失败清除缓存库位信息
|
||||||
|
inStockInfoServiceBiz.removeById(inStockInfo);
|
||||||
runTask.setStatus(3);
|
runTask.setStatus(3);
|
||||||
runTask.setUpdateTime(LocalDateTime.now());
|
runTask.setUpdateTime(LocalDateTime.now());
|
||||||
runTaskServiceBiz.updateById(runTask);
|
runTaskServiceBiz.updateById(runTask);
|
||||||
|
Loading…
Reference in New Issue
Block a user