@@ -938,7 +938,9 @@ public class MarkStudentServiceImpl extends ServiceImpl<MarkStudentMapper, MarkS
}
if (CollectionUtils.isNotEmpty(studentPaperList)) {
// 保存绑定关系
- studentPaperService.saveOrUpdateBatch(studentPaperList);
+ for (ScanStudentPaper studentPaper:studentPaperList) {
+ studentPaperService.saveOrUpdate(studentPaper);
+ }
// 更新考生状态
updateStudentByPaper(user.getId(), id, true, false, true);