Merge remote-tracking branch 'origin/master'
commit
9d4c54eb06
|
@ -345,6 +345,9 @@ public class TaskServiceImpl extends ServiceImpl<TaskMapper, Task> implements IT
|
|||
if (typeChangeValue == 2) {
|
||||
closed = closeTaskAndSubTask(token, task.getTaskProjectId(), task.getTaskId());
|
||||
}
|
||||
if (Objects.equals(rawTask, task)) {
|
||||
return task;
|
||||
}
|
||||
if (!closed && baseMapper.update(task, Wrappers.<Task>lambdaQuery().eq(Task::getTaskId, task.getTaskId())) == 0) {
|
||||
throw new BadRequestException(BadRequestException.OPERATE_FAILED);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue