From b543b1f29d15cd004b9c2bb6bca4e927e4aedb64 Mon Sep 17 00:00:00 2001 From: luoweijian <1329394916@qq.com> Date: Thu, 26 Feb 2026 11:20:30 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=84=E5=8D=B7=E6=A0=A1=E9=AA=8Cbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../domain/service/impl/AssemblePaperDomainServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/project/exam/domain/service/impl/AssemblePaperDomainServiceImpl.java b/src/main/java/com/project/exam/domain/service/impl/AssemblePaperDomainServiceImpl.java index c2d90b9..dc970d5 100644 --- a/src/main/java/com/project/exam/domain/service/impl/AssemblePaperDomainServiceImpl.java +++ b/src/main/java/com/project/exam/domain/service/impl/AssemblePaperDomainServiceImpl.java @@ -97,7 +97,7 @@ public class AssemblePaperDomainServiceImpl implements AssemblePaperDomainServic TaskUserDTO taskUserDTO = Try.of(() -> taskUserBaseService.getOne(new LambdaQueryWrapper() .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())) {