领料接口优化
This commit is contained in:
parent
cb72df603d
commit
68f4d0073f
|
|
@ -157,7 +157,7 @@ public class LeaseApplyInfoServiceImpl implements ILeaseApplyInfoService {
|
||||||
try {
|
try {
|
||||||
int result = leaseApplyInfoMapper.updateLeaseApplyInfo(leaseApplyInfo);
|
int result = leaseApplyInfoMapper.updateLeaseApplyInfo(leaseApplyInfo);
|
||||||
if (result > 0) {
|
if (result > 0) {
|
||||||
// 同步修改tm_task任务状态, 如果不需要审核,改成LEASE_TASK_TO_STOCK_OUT, 如果需要审核,改成 LEASE_TASK_TO_AUDIT
|
// 同步修改tm_task任务状态, 如果不需要审核,改成 LEASE_TASK_IN_STOCK_OUT, 如果需要审核,改成 LEASE_TASK_TO_AUDIT
|
||||||
TmTask tmTask = new TmTask();
|
TmTask tmTask = new TmTask();
|
||||||
tmTask.setTaskType(TmTaskTypeEnum.TM_TASK_LEASE.getTaskTypeId());
|
tmTask.setTaskType(TmTaskTypeEnum.TM_TASK_LEASE.getTaskTypeId());
|
||||||
tmTask.setTaskId(leaseApplyInfo.getTaskId());
|
tmTask.setTaskId(leaseApplyInfo.getTaskId());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue