|
@@ -91,14 +91,9 @@ public class EBaseService {
|
91
|
91
|
eClassStudentMapper.insertList(students);
|
92
|
92
|
|
93
|
93
|
//考试科目
|
94
|
|
- List<String> subjectids = model.getSubjectids();
|
95
|
|
- List<ESubject> subjects = new ArrayList<>();//考试科目
|
96
|
|
- String examdate = model.getExamdate();//考试时间
|
97
|
|
- for (String subjectid : subjectids) {
|
98
|
|
- ESubject s = new ESubject();
|
|
94
|
+ List<ESubject> subjects = model.getSubjects();//考试科目
|
|
95
|
+ for (ESubject s : subjects) {
|
99
|
96
|
s.setExamid(examid);
|
100
|
|
- s.setSubjectid(subjectid);
|
101
|
|
- s.setSdate(examdate);
|
102
|
97
|
s.setEsstate(0);
|
103
|
98
|
subjects.add(s);
|
104
|
99
|
}
|