|
|
@ -15,6 +15,7 @@ import com.ccsens.common.persist.mapper.ProRoleShowMapper; |
|
|
|
import com.ccsens.common.persist.mapper.ProTaskShareMapper; |
|
|
|
import com.ccsens.common.persist.mapper.ProTaskStatusRecordMapper; |
|
|
|
import com.ccsens.common.util.CommonCodeError; |
|
|
|
import com.ccsens.util.PropUtil; |
|
|
|
import com.ccsens.util.exception.BaseException; |
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
@ -457,7 +458,13 @@ public class ProjectService implements IProjectService{ |
|
|
|
if (ObjectUtil.isNull(projectInfo)) { |
|
|
|
throw new BaseException(CommonCodeError.PROJECT_NOT_FOUND); |
|
|
|
} |
|
|
|
return projectDao.findSonProjectId(param); |
|
|
|
List<CProjectVo.ProjectInfo> projectInfos = projectDao.findSonProjectId(param); |
|
|
|
if (CollectionUtil.isNotEmpty(projectInfos)) { |
|
|
|
for (CProjectVo.ProjectInfo project : projectInfos) { |
|
|
|
project.setUrl(PropUtil.domain); |
|
|
|
} |
|
|
|
} |
|
|
|
return projectInfos; |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|