|
|
|
@ -97,7 +97,7 @@ public class AssemblePaperDomainServiceImpl implements AssemblePaperDomainServic |
|
|
|
TaskUserDTO taskUserDTO = Try.of(() -> taskUserBaseService.getOne(new LambdaQueryWrapper<TaskUserEntity>() |
|
|
|
.eq(TaskUserEntity::getTaskId, taskId).eq(TaskUserEntity::getUserId, userId)) |
|
|
|
.toDTO(TaskUserDTO::new)).getOrNull(); |
|
|
|
if (Objects.nonNull(taskUserDTO)) { |
|
|
|
if (Objects.isNull(taskUserDTO)) { |
|
|
|
throw new BusinessErrorException("您无需参与本场考核"); |
|
|
|
} |
|
|
|
if (TaskUserStatusEnum.Pass.getValue().equals(taskUserDTO.getStatus())) { |
|
|
|
|