|
@@ -789,6 +789,7 @@ public class BasicDatasourceController {
|
|
Set<Long> examStudentRemoveIdSet = new HashSet<>();
|
|
Set<Long> examStudentRemoveIdSet = new HashSet<>();
|
|
for (String s : courseInfoList) {
|
|
for (String s : courseInfoList) {
|
|
Set<Long> ids = tbExamStudentService.list(new QueryWrapper<TBExamStudent>().lambda()
|
|
Set<Long> ids = tbExamStudentService.list(new QueryWrapper<TBExamStudent>().lambda()
|
|
|
|
+ .eq(TBExamStudent::getExamId,examId)
|
|
.eq(TBExamStudent::getCourseCode, s))
|
|
.eq(TBExamStudent::getCourseCode, s))
|
|
.stream().map(TBExamStudent::getId).collect(Collectors.toSet());
|
|
.stream().map(TBExamStudent::getId).collect(Collectors.toSet());
|
|
examStudentRemoveIdSet.addAll(ids);
|
|
examStudentRemoveIdSet.addAll(ids);
|