|
@@ -56,6 +56,8 @@ public class CaseServiceImpl extends ServiceImpl<ICaseMapper, CaseEntity> implem
|
|
|
ITmUserService tmUserService;
|
|
|
@Autowired
|
|
|
ITmCameraService tmCameraService;
|
|
|
+ @Autowired
|
|
|
+ ICaseSettingsService caseSettingsService;
|
|
|
|
|
|
@Override
|
|
|
public PageInfo pageList(CaseParam param,String userName) {
|
|
@@ -105,6 +107,14 @@ public class CaseServiceImpl extends ServiceImpl<ICaseMapper, CaseEntity> implem
|
|
|
if(department != null){
|
|
|
record.setDeptName(department.getName());
|
|
|
}
|
|
|
+
|
|
|
+ List<CaseSettings> caseSettings = caseSettingsService.getByCaseId(record.getCaseId());
|
|
|
+ if(!caseSettings.isEmpty()){
|
|
|
+ CaseSettings caseSettings1 = caseSettings.get(0);
|
|
|
+ if(caseSettings1 != null){
|
|
|
+ record.setCover(caseSettings1.getCover());
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
return PageInfo.PageInfo(page);
|
|
|
}
|