|
|
@@ -1520,7 +1520,7 @@ public class OrderProjectServiceImpl extends BaseMybatisDao<TOrderTaskMapper> im
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public Object examineProjectSotp(InputTaskSoptLog in) {
|
|
|
+ public Object pushExamineProjectSotp(InputTaskSoptLog in) {
|
|
|
TaskSopt use = taskSoptMapper.selectByPrimaryKey(in.getTaskSoptId());
|
|
|
TaskSopt t=new TaskSopt();
|
|
|
t.setId(use.getId());
|
|
|
@@ -1546,6 +1546,13 @@ public class OrderProjectServiceImpl extends BaseMybatisDao<TOrderTaskMapper> im
|
|
|
}else if(in.getStatus()==2) {
|
|
|
t.setStatus(2);
|
|
|
}
|
|
|
+ TaskSoptLog taskSoptLog=new TaskSoptLog();
|
|
|
+ taskSoptLog.setTaskSoptId(in.getTaskSoptId());
|
|
|
+ taskSoptLog.setReason(in.getReason());
|
|
|
+ taskSoptLog.setStatus(in.getStatus());
|
|
|
+ taskSoptLog.setCreateTime(new Date());
|
|
|
+ taskSoptLog.setCreateBy(TokenManager.getAdminId());
|
|
|
+ taskSoptLogMapper.insertSelective(taskSoptLog);
|
|
|
return taskSoptMapper.updateByPrimaryKeySelective(t);
|
|
|
}
|
|
|
|