|
@@ -155,6 +155,10 @@ public class TmProjectServiceImpl extends ServiceImpl<ITmProjectMapper, TmProjec
|
|
if(null == tmProject){
|
|
if(null == tmProject){
|
|
throw new BusinessException(ResultCode.PROJECT_NOT_EXITS);
|
|
throw new BusinessException(ResultCode.PROJECT_NOT_EXITS);
|
|
}
|
|
}
|
|
|
|
+ CaseEntity caseEntity = caseService.getByTmProjectId(tmProject.getId());
|
|
|
|
+ if(caseEntity != null){
|
|
|
|
+ tmProject.setCaseId(caseEntity.getCaseId());
|
|
|
|
+ }
|
|
return tmProject;
|
|
return tmProject;
|
|
}
|
|
}
|
|
|
|
|