|
@@ -670,9 +670,14 @@ public class ExamDetailServiceImpl extends ServiceImpl<ExamDetailMapper, ExamDet
|
|
|
basicStudentExtrasParam.setClazzName(clazzName);
|
|
|
basicStudentExtrasParamList.add(basicStudentExtrasParam);
|
|
|
}
|
|
|
- examStudentService.saveBatch(examStudentList);
|
|
|
// 更新基础学生表和附加数据
|
|
|
basicStudentService.saveBasicStudentWithExtrasList(basicStudentExtrasParamList, sysUser);
|
|
|
+ for (ExamStudent examStudent : examStudentList) {
|
|
|
+ examStudent.setClazzId(String.valueOf(basicClazzService.getOne(new QueryWrapper<BasicClazz>().lambda().eq(BasicClazz::getClazzName,examStudent.getClazzName())).getId()));
|
|
|
+ }
|
|
|
+ examStudentService.saveBatch(examStudentList);
|
|
|
+
|
|
|
+
|
|
|
}
|
|
|
|
|
|
@Override
|