|
@@ -648,6 +648,10 @@ public class ExamDetailServiceImpl extends ServiceImpl<ExamDetailMapper, ExamDet
|
|
|
.eq(BasicStudent::getStudentCode, studentCode));
|
|
|
if (Objects.nonNull(tmp)) {
|
|
|
basicStudentParams.setId(tmp.getId());
|
|
|
+ basicStudentParams.setCollegeId(tmp.getBelongOrgId());
|
|
|
+ basicStudentParams.setMajorId(tmp.getMajorId());
|
|
|
+ basicStudentParams.setClazzId(tmp.getClazzId());
|
|
|
+ basicStudentParams.setPhoneNumber(tmp.getPhoneNumber());
|
|
|
}
|
|
|
basicStudentParams.setStudentCode(studentCode);
|
|
|
basicStudentParams.setStudentName(studentName);
|
|
@@ -656,10 +660,6 @@ public class ExamDetailServiceImpl extends ServiceImpl<ExamDetailMapper, ExamDet
|
|
|
.eq(BasicCampus::getSchoolId,schoolId)
|
|
|
.eq(BasicCampus::getCampusName,campusName))
|
|
|
.getId());
|
|
|
- basicStudentParams.setCollegeId(tmp.getBelongOrgId());
|
|
|
- basicStudentParams.setMajorId(tmp.getMajorId());
|
|
|
- basicStudentParams.setClazzId(tmp.getClazzId());
|
|
|
- basicStudentParams.setPhoneNumber(tmp.getPhoneNumber());
|
|
|
basicStudentParamsList.add(basicStudentParams);
|
|
|
}
|
|
|
examStudentService.saveBatch(examStudentList);
|