fix
This commit is contained in:
parent
062741f1b2
commit
565b7389d0
@ -152,6 +152,11 @@ public class ResultTaskServiceImpl extends ServiceImpl<ResultTaskMapper, ResultT
|
||||
|
||||
log.info("绩效任务修改操作。。。");
|
||||
resultTask = resultTaskMapper.selectResultTaskById(tasklId);
|
||||
ResultDetail resultDetail = resultDetailService.selectResultDetailById(resultTask.getDetailId());
|
||||
if(!userId.equals(resultDetail.getStaffId())){
|
||||
log.info("非本人任务不能修改");
|
||||
return R.error("非本人任务不能修改");
|
||||
}
|
||||
TaskProcessRecordDto taskProcessRecordDto = taskProcessRecordMapper.selectTaskProcessRecordLastByTaskId(tasklId);
|
||||
int i = changeTaskProcess(resultTask, req,taskProcessRecordDto);
|
||||
if(i<1){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user