[fix] 人工评估时查看备份报告报错
This commit is contained in:
parent
a37f776b7a
commit
6c99644989
@ -228,16 +228,24 @@ public class ModelAssessTaskManualBackupServiceImpl implements ModelAssessTaskMa
|
||||
|
||||
if (CollectionUtils.isNotEmpty(collect)) {
|
||||
boolean allBlank = true;
|
||||
|
||||
for (String collect1 : collect) {
|
||||
if (StringUtils.isNotBlank(collect1)) {
|
||||
allBlank = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (allBlank) {
|
||||
return manualEvaluationReportRespVOS;
|
||||
}
|
||||
|
||||
for (String collect1 : collect) {
|
||||
|
||||
if (StringUtils.isBlank(collect1)){
|
||||
continue;
|
||||
}
|
||||
|
||||
List<LabelInformationVO> voList = labelInformationVOS.stream().filter(manualModelAnswerDO -> manualModelAnswerDO.getLabel().equals(collect1)).collect(Collectors.toList());
|
||||
ManualEvaluationReportRespVO reportRespVO1 = new ManualEvaluationReportRespVO();
|
||||
reportRespVO1.setDimension(collect1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user