Explorar o código

fix. 大题分析过滤掉缺考的考生

caozixuan hai 9 meses
pai
achega
d7b76a6fb5

+ 1 - 1
teachcloud-mark/src/main/java/com/qmth/teachcloud/mark/service/impl/MarkStudentServiceImpl.java

@@ -1518,7 +1518,7 @@ public class MarkStudentServiceImpl extends ServiceImpl<MarkStudentMapper, MarkS
                 mainQuestionMap.put(key, questionVo);
             }
         }
-
+        studentList = studentList.stream().filter(e -> !BasicExamStudentStatusEnum.M.equals(e.getStatus())).collect(Collectors.toList());
         List<Long> studentIdList = studentList.stream().map(ArchiveStudentVo::getStudentId).distinct().collect(Collectors.toList());
         List<MarkSubjectiveScore> subjectiveScoreDatasource = new ArrayList<>();
         if (CollectionUtils.isNotEmpty(studentIdList)) {