fix: 修复TaskTypeMapper不存在的问题 - 使用DemandTypeMapper
This commit is contained in:
parent
bd98e4a3ab
commit
855154977a
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user