Просмотр исходного кода

选择的考试学生

tags/正式3.13.3
王宁 1 год назад
Родитель
Сommit
18e5dfe6c6

+ 1
- 1
sexam/src/main/java/com/xhkjedu/sexam/service/report/EReportGenerateService.java Просмотреть файл

@@ -298,7 +298,7 @@ public class EReportGenerateService {
298 298
         } else {
299 299
             classSubjectStudents2 = classSubjectStudents;
300 300
         }
301
-        setClassGradeRankAll(examid, stunum, papers, classSubjectStudents2, createid, userMap);//班级等级分布
301
+        // setClassGradeRankAll(examid, stunum, papers, classSubjectStudents2, createid, userMap);//班级等级分布
302 302
         setClassGradeRank(examid, stunum, papers, classSubjectStudents, setRrank(5), createid, userMap);//班级等级分布--优困生
303 303
         setAction(examid, userMap);//行为分析
304 304
         eBaseMapper.updateExamState(examid,3);

+ 2
- 3
sexam/src/main/resources/mapper/system/UserMapper.xml Просмотреть файл

@@ -10,10 +10,9 @@
10 10
     </select>
11 11
     <!--获取考生-->
12 12
     <select id="listStuByExamId" resultType="com.xhkjedu.vo.system.UserVo">
13
-        select u.userid,u.userphone,ec.classid
14
-        from e_class ec left join t_class_student cs on ec.classid = cs.classid
13
+        select u.userid,u.userphone,cs.classid from e_class_student cs
15 14
         left join t_user u on cs.studentid = u.userid
16
-        where ec.examid=#{examid}
15
+        where cs.examid=#{examid}
17 16
     </select>
18 17
     <!--获取考试班级任教老师-->
19 18
     <select id="listTeacherByClassIds" resultType="com.xhkjedu.vo.system.UserVo">

Загрузка…
Отмена
Сохранить