From 855154977a2557a786449df8b5818bcf8f1dbf8d Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 7 Jan 2026 16:45:51 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8DTaskTypeMapper?= =?UTF-8?q?=E4=B8=8D=E5=AD=98=E5=9C=A8=E7=9A=84=E9=97=AE=E9=A2=98=20-=20?= =?UTF-8?q?=E4=BD=BF=E7=94=A8DemandTypeMapper?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/designhub/service/TaskItemService.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/backend/src/main/java/com/designhub/service/TaskItemService.java b/backend/src/main/java/com/designhub/service/TaskItemService.java index aa24c58..ed51e54 100644 --- a/backend/src/main/java/com/designhub/service/TaskItemService.java +++ b/backend/src/main/java/com/designhub/service/TaskItemService.java @@ -11,6 +11,7 @@ import com.designhub.exception.BusinessException; import com.designhub.mapper.TaskItemMapper; import com.designhub.mapper.TaskMapper; import com.designhub.mapper.DepartmentMapper; +import com.designhub.mapper.DemandTypeMapper; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; @@ -37,7 +38,7 @@ public class TaskItemService { private final ConfigService configService; private final ExternalAssetService externalAssetService; private final SystemConfigService systemConfigService; - private final com.designhub.mapper.TaskTypeMapper taskTypeMapper; + private final DemandTypeMapper demandTypeMapper; /** * 获取可接单的子任务列表 @@ -1020,7 +1021,7 @@ public class TaskItemService { return null; } - com.designhub.entity.TaskType taskType = taskTypeMapper.selectById(taskTypeId); + com.designhub.entity.DemandType taskType = demandTypeMapper.selectById(taskTypeId); if (taskType == null) { return null; }