|
@@ -121,7 +121,7 @@ public class TEExamStudentController {
|
|
if (Objects.isNull(teExamStudentList) || teExamStudentList.size() == 0) {
|
|
if (Objects.isNull(teExamStudentList) || teExamStudentList.size() == 0) {
|
|
throw new BusinessException(ExceptionResultEnum.EXAM_STUDENT_INFO_IS_NULL);
|
|
throw new BusinessException(ExceptionResultEnum.EXAM_STUDENT_INFO_IS_NULL);
|
|
}
|
|
}
|
|
- teExamStudentService.updateBatchById(teExamStudentList);
|
|
|
|
|
|
+ teExamStudentService.saveOrUpdateBatch(teExamStudentList);
|
|
teExamStudentList.forEach(s -> {
|
|
teExamStudentList.forEach(s -> {
|
|
teExamStudentService.updateExamStudentCacheBean(s.getId());
|
|
teExamStudentService.updateExamStudentCacheBean(s.getId());
|
|
});
|
|
});
|