|
@@ -315,7 +315,7 @@ public class CaseServiceImpl extends ServiceImpl<ICaseMapper, CaseEntity> implem
|
|
|
public CaseVo getInfo(Integer caseId) {
|
|
|
CaseEntity caseEntity = this.getById(caseId);
|
|
|
if(caseEntity == null){
|
|
|
- return null;
|
|
|
+ throw new BusinessException(ResultCode.CASE_NOT_EXITS);
|
|
|
}
|
|
|
CaseVo caseVo = new CaseVo();
|
|
|
BeanUtil.copyProperties(caseEntity,caseVo);
|