Browse Source

选择的考试学生

tags/正式3.13.3
王宁 1 year ago
parent
commit
18e5dfe6c6

+ 1
- 1
sexam/src/main/java/com/xhkjedu/sexam/service/report/EReportGenerateService.java View File

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

+ 2
- 3
sexam/src/main/resources/mapper/system/UserMapper.xml View File

10
     </select>
10
     </select>
11
     <!--获取考生-->
11
     <!--获取考生-->
12
     <select id="listStuByExamId" resultType="com.xhkjedu.vo.system.UserVo">
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
         left join t_user u on cs.studentid = u.userid
14
         left join t_user u on cs.studentid = u.userid
16
-        where ec.examid=#{examid}
15
+        where cs.examid=#{examid}
17
     </select>
16
     </select>
18
     <!--获取考试班级任教老师-->
17
     <!--获取考试班级任教老师-->
19
     <select id="listTeacherByClassIds" resultType="com.xhkjedu.vo.system.UserVo">
18
     <select id="listTeacherByClassIds" resultType="com.xhkjedu.vo.system.UserVo">

Loading…
Cancel
Save