[fix] 人工评估时查看备份报告报错

This commit is contained in:
Liuyang 2025-01-22 16:04:49 +08:00
parent a37f776b7a
commit 6c99644989

View File

@ -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);