소스 검색

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

caozixuan 9 달 전
부모
커밋
d7b76a6fb5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      teachcloud-mark/src/main/java/com/qmth/teachcloud/mark/service/impl/MarkStudentServiceImpl.java

+ 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)) {