Browse Source

班级试题处理题型

tags/正式版本
雍文秀 2 years ago
parent
commit
bb249885d0

+ 3
- 0
sexam/src/main/java/com/xhkjedu/sexam/model/reportclass/ERclassQuestion.java View File

86
 
86
 
87
     //满分人数
87
     //满分人数
88
     private Integer fullscorenum;
88
     private Integer fullscorenum;
89
+
90
+    //处理题型
91
+    private Integer ctype;
89
 }
92
 }

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

1906
 
1906
 
1907
                         //班级单题情况
1907
                         //班级单题情况
1908
                         ERclassQuestion ercq = new ERclassQuestion();
1908
                         ERclassQuestion ercq = new ERclassQuestion();
1909
+                        ercq.setCtype(qcstulist.get(0).getCtype());
1909
                         ercq.setExamid(examPaperClassVo.getExamid());
1910
                         ercq.setExamid(examPaperClassVo.getExamid());
1910
                         ercq.setClassid(classid);
1911
                         ercq.setClassid(classid);
1911
                         ercq.setSubjectid(examPaperClassVo.getSubjectid());
1912
                         ercq.setSubjectid(examPaperClassVo.getSubjectid());
2135
 
2136
 
2136
                         //班级单题情况
2137
                         //班级单题情况
2137
                         ERclassQuestion ercq = new ERclassQuestion();
2138
                         ERclassQuestion ercq = new ERclassQuestion();
2139
+                        ercq.setCtype(qcstulist.get(0).getCtype());
2138
                         ercq.setExamid(examPaperClassVo.getExamid());
2140
                         ercq.setExamid(examPaperClassVo.getExamid());
2139
                         ercq.setClassid(classid);
2141
                         ercq.setClassid(classid);
2140
                         ercq.setSubjectid(examPaperClassVo.getSubjectid());
2142
                         ercq.setSubjectid(examPaperClassVo.getSubjectid());

+ 1
- 1
sexam/src/main/resources/mapper/report/EReportClassMapper.xml View File

65
     </select>
65
     </select>
66
     <!--试卷分析-小题分析-->
66
     <!--试卷分析-小题分析-->
67
     <select id="listQuestion" resultType="java.util.Map">
67
     <select id="listQuestion" resultType="java.util.Map">
68
-        select erq.eptqid,erq.qn,erq.qorder,erq.score,erq.qtypename,erq.complexity
68
+        select erq.eptqid,erq.qn,erq.qorder,erq.score,erq.qtypename,erq.complexity,erq.ctype
69
         <if test="rank.showrank==0">
69
         <if test="rank.showrank==0">
70
             ,0 classavgscore,0 classsrate,0 gradeavgscore,0 gradesrate
70
             ,0 classavgscore,0 classsrate,0 gradeavgscore,0 gradesrate
71
         </if>
71
         </if>

Loading…
Cancel
Save