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,4 +86,7 @@ public class ERclassQuestion extends BaseBean {
86 86
 
87 87
     //满分人数
88 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,6 +1906,7 @@ public class EReportGenerateService {
1906 1906
 
1907 1907
                         //班级单题情况
1908 1908
                         ERclassQuestion ercq = new ERclassQuestion();
1909
+                        ercq.setCtype(qcstulist.get(0).getCtype());
1909 1910
                         ercq.setExamid(examPaperClassVo.getExamid());
1910 1911
                         ercq.setClassid(classid);
1911 1912
                         ercq.setSubjectid(examPaperClassVo.getSubjectid());
@@ -2135,6 +2136,7 @@ public class EReportGenerateService {
2135 2136
 
2136 2137
                         //班级单题情况
2137 2138
                         ERclassQuestion ercq = new ERclassQuestion();
2139
+                        ercq.setCtype(qcstulist.get(0).getCtype());
2138 2140
                         ercq.setExamid(examPaperClassVo.getExamid());
2139 2141
                         ercq.setClassid(classid);
2140 2142
                         ercq.setSubjectid(examPaperClassVo.getSubjectid());

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

@@ -65,7 +65,7 @@
65 65
     </select>
66 66
     <!--试卷分析-小题分析-->
67 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 69
         <if test="rank.showrank==0">
70 70
             ,0 classavgscore,0 classsrate,0 gradeavgscore,0 gradesrate
71 71
         </if>

Loading…
Cancel
Save