规避法规意见收集导出空数据报错问题。
This commit is contained in:
+3
@@ -339,6 +339,9 @@ public class LawsOpinionAssessmentResultEOServiceImpl extends ServiceImpl<LawsOp
|
|||||||
}
|
}
|
||||||
|
|
||||||
LawsOpinionGatherEO lawsOpinionGatherEO = lawsOpinionGatherEOService.getById(lawsOpinionAssessmentResultEO.getLawsOpinionGatherId());
|
LawsOpinionGatherEO lawsOpinionGatherEO = lawsOpinionGatherEOService.getById(lawsOpinionAssessmentResultEO.getLawsOpinionGatherId());
|
||||||
|
if(StringUtils.isEmpty(lawsOpinionGatherEO.getEvaluatorIds())){
|
||||||
|
return;
|
||||||
|
}
|
||||||
List<String> evaluatorIdList = Arrays.asList(lawsOpinionGatherEO.getEvaluatorIds().split(","));
|
List<String> evaluatorIdList = Arrays.asList(lawsOpinionGatherEO.getEvaluatorIds().split(","));
|
||||||
List<SysUser> evaluatorUserList = this.sysUserService.querySysUserListByIdList(evaluatorIdList);
|
List<SysUser> evaluatorUserList = this.sysUserService.querySysUserListByIdList(evaluatorIdList);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user