yin 2 月之前
父節點
當前提交
aba2f4c1f8

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

@@ -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);