Browse Source

Merge remote-tracking branch 'origin/master' into ywx

tags/正式版本
雍文秀 2 years ago
parent
commit
8ec9e1f9dc
19 changed files with 57 additions and 33 deletions
  1. 2
    1
      sapi/src/main/java/com/xhkjedu/sapi/service/appversion/AppRecordService.java
  2. 2
    2
      sapi/src/main/java/com/xhkjedu/sapi/service/appversion/AppScanService.java
  3. 2
    1
      sapi/src/main/java/com/xhkjedu/sapi/service/appversion/AppStuappService.java
  4. 2
    1
      sapi/src/main/java/com/xhkjedu/sapi/service/appversion/AppStuliveService.java
  5. 2
    1
      sapi/src/main/java/com/xhkjedu/sapi/service/appversion/AppTeacherappService.java
  6. 2
    1
      sapi/src/main/java/com/xhkjedu/sapi/service/appversion/AppTeacherclientService.java
  7. 2
    1
      sapi/src/main/java/com/xhkjedu/sapi/service/appversion/AppTeacherliveService.java
  8. 4
    3
      sapi/src/main/java/com/xhkjedu/sapi/service/appversion/AppthirdService.java
  9. 2
    1
      sapi/src/main/java/com/xhkjedu/sapi/service/itemtool/ReadService.java
  10. 2
    1
      sapi/src/main/java/com/xhkjedu/sapi/service/research/ResearchService.java
  11. 6
    0
      sexam/src/main/java/com/xhkjedu/sexam/model/reportclass/ERclassComplexity.java
  12. 6
    11
      sexam/src/main/java/com/xhkjedu/sexam/service/report/EReportGenerateService.java
  13. 2
    0
      sexam/src/main/java/com/xhkjedu/sexam/vo/paper/EPaperQtypeQuestionVo.java
  14. 2
    1
      sexam/src/main/resources/mapper/paper/EPaperQtypeMapper.xml
  15. 9
    4
      sexam/src/main/resources/mapper/report/ERstudentMapper.xml
  16. 2
    1
      sstudy/src/main/java/com/xhkjedu/sstudy/service/paper/PaperService.java
  17. 3
    1
      sstudy/src/main/java/com/xhkjedu/sstudy/vo/question/QuestionVo.java
  18. 1
    0
      sstudy/src/main/java/com/xhkjedu/sstudy/vo/question/UserBasketVo.java
  19. 4
    2
      sstudy/src/main/resources/mapper/question/UserBasketMapper.xml

+ 2
- 1
sapi/src/main/java/com/xhkjedu/sapi/service/appversion/AppRecordService.java View File

@@ -34,8 +34,9 @@ public class AppRecordService {
34 34
     //删除
35 35
     public Integer deleteById(Integer versionid) {
36 36
         List<String> resourceUrls = appRecordMapper.listFolder(versionid);//获取APP文件夹
37
+        int result = appRecordMapper.deleteByPrimaryKey(versionid);
37 38
         messageSender.resourceDel(resourceUrls);//给文件服务器发送mq删除文件
38
-        return appRecordMapper.deleteByPrimaryKey(versionid);
39
+        return result;
39 40
     }
40 41
 
41 42
     //修改

+ 2
- 2
sapi/src/main/java/com/xhkjedu/sapi/service/appversion/AppScanService.java View File

@@ -2,7 +2,6 @@ package com.xhkjedu.sapi.service.appversion;
2 2
 
3 3
 import com.xhkjedu.sapi.listener.MessageSender;
4 4
 import com.xhkjedu.sapi.mapper.appversion.AppScanMapper;
5
-import com.xhkjedu.sapi.mapper.appversion.AppScanMapper;
6 5
 import com.xhkjedu.sapi.model.appversion.TAppScan;
7 6
 import com.xhkjedu.sapi.vo.appversion.AppversionVo;
8 7
 import com.xhkjedu.utils.N_Utils;
@@ -35,8 +34,9 @@ public class AppScanService {
35 34
     //删除
36 35
     public Integer deleteById(Integer versionid) {
37 36
         List<String> resourceUrls = AppScanMapper.listFolder(versionid);//获取APP文件夹
37
+        Integer result = AppScanMapper.deleteByPrimaryKey(versionid);
38 38
         messageSender.resourceDel(resourceUrls);//给文件服务器发送mq删除文件
39
-        return AppScanMapper.deleteByPrimaryKey(versionid);
39
+        return result;
40 40
     }
41 41
 
42 42
     //修改

+ 2
- 1
sapi/src/main/java/com/xhkjedu/sapi/service/appversion/AppStuappService.java View File

@@ -35,8 +35,9 @@ public class AppStuappService {
35 35
     //删除
36 36
     public Integer deleteById(Integer versionid) {
37 37
         List<String> resourceUrls = appStuappMapper.listFolder(versionid);//获取APP文件夹
38
+        Integer result = appStuappMapper.deleteByPrimaryKey(versionid);
38 39
         messageSender.resourceDel(resourceUrls);//给文件服务器发送mq删除文件
39
-        return appStuappMapper.deleteByPrimaryKey(versionid);
40
+        return result;
40 41
     }
41 42
 
42 43
     //修改

+ 2
- 1
sapi/src/main/java/com/xhkjedu/sapi/service/appversion/AppStuliveService.java View File

@@ -34,8 +34,9 @@ public class AppStuliveService {
34 34
     //删除
35 35
     public Integer deleteById(Integer versionid) {
36 36
         List<String> resourceUrls = appStuliveMapper.listFolder(versionid);//获取APP文件夹
37
+        Integer result = appStuliveMapper.deleteByPrimaryKey(versionid);
37 38
         messageSender.resourceDel(resourceUrls);//给文件服务器发送mq删除文件
38
-        return appStuliveMapper.deleteByPrimaryKey(versionid);
39
+        return result;
39 40
     }
40 41
 
41 42
     //修改

+ 2
- 1
sapi/src/main/java/com/xhkjedu/sapi/service/appversion/AppTeacherappService.java View File

@@ -34,8 +34,9 @@ public class AppTeacherappService {
34 34
     //删除
35 35
     public Integer deleteById(Integer versionid) {
36 36
         List<String> resourceUrls = appTeacherappMapper.listFolder(versionid);//获取APP文件夹
37
+        int result = appTeacherappMapper.deleteByPrimaryKey(versionid);
37 38
         messageSender.resourceDel(resourceUrls);//给文件服务器发送mq删除文件
38
-        return appTeacherappMapper.deleteByPrimaryKey(versionid);
39
+        return result;
39 40
     }
40 41
 
41 42
     //修改

+ 2
- 1
sapi/src/main/java/com/xhkjedu/sapi/service/appversion/AppTeacherclientService.java View File

@@ -34,8 +34,9 @@ public class AppTeacherclientService {
34 34
     //删除
35 35
     public Integer deleteById(Integer versionid) {
36 36
         List<String> resourceUrls = appTeacherclientMapper.listFolder(versionid);//获取APP文件夹
37
+        Integer result = appTeacherclientMapper.deleteByPrimaryKey(versionid);
37 38
         messageSender.resourceDel(resourceUrls);//给文件服务器发送mq删除文件
38
-        return appTeacherclientMapper.deleteByPrimaryKey(versionid);
39
+        return result;
39 40
     }
40 41
 
41 42
     //修改

+ 2
- 1
sapi/src/main/java/com/xhkjedu/sapi/service/appversion/AppTeacherliveService.java View File

@@ -34,8 +34,9 @@ public class AppTeacherliveService {
34 34
     //删除
35 35
     public Integer deleteById(Integer versionid) {
36 36
         List<String> resourceUrls = appTeacherliveMapper.listFolder(versionid);//获取APP文件夹
37
+        Integer result = appTeacherliveMapper.deleteByPrimaryKey(versionid);
37 38
         messageSender.resourceDel(resourceUrls);//给文件服务器发送mq删除文件
38
-        return appTeacherliveMapper.deleteByPrimaryKey(versionid);
39
+        return result;
39 40
     }
40 41
 
41 42
     //修改

+ 4
- 3
sapi/src/main/java/com/xhkjedu/sapi/service/appversion/AppthirdService.java View File

@@ -47,9 +47,10 @@ public class AppthirdService {
47 47
     @Transactional(rollbackFor = Exception.class)
48 48
     public Integer deleteById(Integer appid) {
49 49
         List<String> resourceUrls = appthirdHistoryMapper.listFolder(appid);//获取APP文件夹
50
-        messageSender.resourceDel(resourceUrls);//给文件服务器发送mq删除文件
50
+        Integer result = appthirdMapper.deleteByPrimaryKey(appid);
51 51
         handleThirdManager(appid, 2);//处理应用白名单
52
-        return appthirdMapper.deleteByPrimaryKey(appid);
52
+        messageSender.resourceDel(resourceUrls);//给文件服务器发送mq删除文件
53
+        return result;
53 54
     }
54 55
 
55 56
     //修改
@@ -148,8 +149,8 @@ public class AppthirdService {
148 149
      **/
149 150
     public void deleteByApphId(Integer apphid) {
150 151
         List<String> resourceUrls = appthirdHistoryMapper.listFolder2(apphid);//获取APP文件夹
151
-        messageSender.resourceDel(resourceUrls);//给文件服务器发送mq删除文件
152 152
         appthirdHistoryMapper.deleteByPrimaryKey(apphid);
153
+        messageSender.resourceDel(resourceUrls);//给文件服务器发送mq删除文件
153 154
     }
154 155
 
155 156
     /**

+ 2
- 1
sapi/src/main/java/com/xhkjedu/sapi/service/itemtool/ReadService.java View File

@@ -100,8 +100,9 @@ public class ReadService {
100 100
      */
101 101
     public Integer del(Integer readid){
102 102
         List<String> resourceUrls = readMapper.listFolder(readid);//获取电子书文件夹
103
+        Integer result = readMapper.deleteByPrimaryKey(readid);
103 104
         messageSender.resourceDel(resourceUrls);//给文件服务器发送mq删除文件
104
-        return readMapper.deleteByPrimaryKey(readid);
105
+        return result;
105 106
     }
106 107
 
107 108
     /**

+ 2
- 1
sapi/src/main/java/com/xhkjedu/sapi/service/research/ResearchService.java View File

@@ -145,8 +145,9 @@ public class ResearchService {
145 145
      */
146 146
     public Integer del(Integer researchid) {
147 147
         List<String> resourceUrls = researchMapper.listFolder(researchid);//获取教研文件夹
148
+        Integer result = researchMapper.deleteByPrimaryKey(researchid);
148 149
         messageSender.resourceDel(resourceUrls);//给文件服务器发送mq删除文件
149
-        return researchMapper.deleteByPrimaryKey(researchid);
150
+        return result;
150 151
     }
151 152
 
152 153
     /**

+ 6
- 0
sexam/src/main/java/com/xhkjedu/sexam/model/reportclass/ERclassComplexity.java View File

@@ -37,12 +37,18 @@ public class ERclassComplexity extends BaseBean {
37 37
     //年级得分
38 38
     private Double gradescore;
39 39
 
40
+    //年级平均分
41
+    private Double gradeavgscore;
42
+
40 43
     //年级得分率
41 44
     private Double gradesrate;
42 45
 
43 46
     //班级得分
44 47
     private Double classscore;
45 48
 
49
+    //班级平均分
50
+    private Double classavgscore;
51
+
46 52
     //班级得分率
47 53
     private Double classsrate;
48 54
 

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

@@ -1798,17 +1798,7 @@ public class EReportGenerateService {
1798 1798
 
1799 1799
         Map rtnmap = new HashMap();
1800 1800
         rtnmap.put("answerlist", JSON.toJSONString(answermap));
1801
-        if(goodlist.size()>0){
1802
-            rtnmap.put("goodlist", JSON.toJSONString(goodlist));
1803
-        }else{
1804
-            rtnmap.put("goodlist", "");
1805
-        }
1806
-        if(badlist.size()>0){
1807
-            rtnmap.put("badlist", JSON.toJSONString(badlist));
1808
-        }else{
1809
-            rtnmap.put("badlist", "");
1810
-        }
1811
-
1801
+        rtnmap.put("goodlist", JSON.toJSONString(goodlist));
1812 1802
         rtnmap.put("badlist", JSON.toJSONString(badlist));
1813 1803
         rtnmap.put("erroroption",erroroption);
1814 1804
         return rtnmap;
@@ -2367,6 +2357,8 @@ public class EReportGenerateService {
2367 2357
             Double tgstuscore = qgstulist.stream().mapToDouble(EPaperStudentQuestion::getStuscore).sum();//难易度下学生得分
2368 2358
             Double tgscore = qgstulist.stream().mapToDouble(EPaperStudentQuestion::getQscore).sum();//难易度下试题总分
2369 2359
             Double tgsrate = N_Utils.getDoubleDivideAndMulitiply(tgstuscore, tgscore);//年级得分率
2360
+            Double tgavgscore = N_Utils.getDoubleDivideForAvg(tgstuscore,qgstulist.size());
2361
+
2370 2362
 
2371 2363
             for (Map classm : classes) {
2372 2364
                 Integer classid = Integer.parseInt(classm.get("classid").toString());
@@ -2374,6 +2366,7 @@ public class EReportGenerateService {
2374 2366
                 if(N_Utils.isListNotEmpty(qcstulist)){
2375 2367
                     Double qcscore = qcstulist.stream().mapToDouble(EPaperStudentQuestion::getQscore).sum();
2376 2368
                     Double qcstuscore = qcstulist.stream().mapToDouble(EPaperStudentQuestion::getStuscore).sum();
2369
+                    Double qcavgscore = N_Utils.getDoubleDivideForAvg(qcstuscore,qcstulist.size());
2377 2370
 
2378 2371
                     ERclassComplexity erc = new ERclassComplexity();
2379 2372
                     erc.setExamid(examPaperClassVo.getExamid());
@@ -2384,9 +2377,11 @@ public class EReportGenerateService {
2384 2377
                     erc.setScore(score);
2385 2378
                     erc.setSrate(srate);
2386 2379
                     erc.setGradescore(tgstuscore);
2380
+                    erc.setGradeavgscore(tgavgscore);
2387 2381
                     erc.setGradesrate(tgsrate);
2388 2382
                     erc.setClassscore(qcstuscore);
2389 2383
                     erc.setClasssrate(N_Utils.getDoubleDivideAndMulitiply(qcstuscore, qcscore));
2384
+                    erc.setClassavgscore(qcavgscore);
2390 2385
                     erc.setQns(qns.substring(0, qns.lastIndexOf(",")));
2391 2386
                     complist.add(erc);
2392 2387
                 }

+ 2
- 0
sexam/src/main/java/com/xhkjedu/sexam/vo/paper/EPaperQtypeQuestionVo.java View File

@@ -46,6 +46,8 @@ public class EPaperQtypeQuestionVo {
46 46
     //试题题干
47 47
     private String qstem;
48 48
 
49
+    private String qstemtxt;
50
+
49 51
     //试题选项
50 52
     private String qoption;
51 53
 

+ 2
- 1
sexam/src/main/resources/mapper/paper/EPaperQtypeMapper.xml View File

@@ -23,6 +23,7 @@
23 23
             <result column="answer" property="answer"></result>
24 24
             <result column="qctype" property="ctype"></result>
25 25
             <result column="qstem" property="qstem"></result>
26
+            <result column="qstemtxt" property="qstemtxt"></result>
26 27
             <result column="qoption" property="qoption"></result>
27 28
             <result column="qanswer" property="qanswer"></result>
28 29
             <result column="qanalyze" property="qanalyze"></result>
@@ -53,7 +54,7 @@
53 54
     <!--试题详情-->
54 55
     <select id="listPaperQtypeQuestions" resultMap="qtypesQuestion">
55 56
         select t.eptid,t.epid,t.ctype,t.eptname,t.eptnum,t.eptorder,t.eptscore,tq.eptqid,tq.questionid,tq.answer,
56
-               tq.score,tq.qn,tq.qorder,q.qtypeid,q.qtypename,q.ctype qctype,q.qstem,q.qoption,q.qanswer,q.qanalyze,
57
+               tq.score,tq.qn,tq.qorder,q.qtypeid,q.qtypename,q.ctype qctype,q.qstem,q.qstemtxt,q.qoption,q.qanswer,q.qanalyze,
57 58
                q.complexity,q.hashear,q.hearfile,q.qlevel,q.sorder,q.questionpid,fq.snum,fq.qstem as mqstem,fq.complexity as mcomplexity,
58 59
                fq.qtypeid mqtypeid,fq.qtypename mqtypename,fq.ctype mctype,fq.qanalyze mqanalyze,fq.qanswer mqanswer,
59 60
                fq.qlevel mqlevel,fq.hashear mhashear,fq.hearfile mhearfile

+ 9
- 4
sexam/src/main/resources/mapper/report/ERstudentMapper.xml View File

@@ -52,7 +52,7 @@
52 52
     <select id="listStudentExamHistory" resultType="java.util.Map">
53 53
         select e.examid,e.examdate,s.classrank,s.schoolrank
54 54
         from e_rstudent s LEFT JOIN e_base e on s.examid=e.examid
55
-        where s.studentid=#{studentid} and s.subjectid=#{subjectid} order by e.examdate desc limit 10
55
+        where s.studentid=#{studentid} and s.subjectid=#{subjectid} order by e.examdate limit 10
56 56
     </select>
57 57
 
58 58
     <!--学生报告-学科分析-学科名次-->
@@ -68,14 +68,16 @@
68 68
     </select>
69 69
     <!--学生报告-学科分析-难易度分析-->
70 70
     <select id="listSubjectComplexitys" resultType="java.util.Map">
71
-        select sc.complexity,sc.stuscore,sc.stusrate,cc.score,cc.srate,cc.gradescore,cc.gradesrate,cc.classscore,cc.classsrate,cc.qns
71
+        select sc.complexity,sc.stuscore,sc.stusrate,cc.score,cc.srate,cc.gradescore,cc.gradeavgscore,cc.gradesrate,
72
+               cc.classscore,cc.classavgscore,cc.classsrate,cc.qns
72 73
         from e_rstudent_complexity sc left join e_rclass_complexity cc on sc.examid=cc.examid
73 74
             and sc.subjectid=cc.subjectid and sc.complexity=cc.complexity and sc.classid=cc.classid
74 75
         where sc.examid=#{examid} and sc.subjectid=#{subjectid} and sc.studentid=#{studentid} order by sc.complexity
75 76
     </select>
76 77
     <!--学生报告-学科分析-题型分析-->
77 78
     <select id="listSubjectQtypes" resultType="java.util.Map">
78
-        select st.qtypename,st.stuscore,st.stusrate,ct.score,ct.srate,ct.gradescore,ct.gradesrate,ct.classscore,ct.classsrate,ct.qns
79
+        select st.qtypename,st.stuscore,st.stusrate,ct.score,ct.srate,ct.gradescore,ct.gradesrate,ct.gradeavgscore
80
+               ,ct.classscore,ct.classsrate,ct.classavgscore,ct.qns
79 81
         from e_rstudent_qtype st left join e_rclass_qtype ct on st.examid=ct.examid
80 82
             and st.subjectid=ct.subjectid and st.qtypeid=ct.qtypeid and st.classid=ct.classid
81 83
         where st.examid=#{examid} and st.subjectid=#{subjectid} and st.studentid=#{studentid} order by st.erstid
@@ -83,6 +85,7 @@
83 85
     <!--学生报告-学科分析-试题分析(附件)-->
84 86
     <select id="listSubjectQuestionsForFj" resultType="java.util.Map">
85 87
         select sq.qn,sq.qorder,sq.stuscore,sq.qscore,cq.qtypename,cq.classscore,cq.classsrate,cq.gradescore,cq.gradesrate
88
+               ,cq.gradeavgscore,cq.classavgscore
86 89
         from e_paper_student_question sq left join e_paper_student ps on sq.epsid=ps.epsid
87 90
         left join e_rclass_question cq on ps.examid=cq.examid and sq.eptqid=cq.eptqid and sq.classid=cq.classid
88 91
         and cq.eptqid=cq.eptqid where ps.examid=#{examid} and ps.subjectid=#{subjectid} and sq.studentid=#{studentid} order by sq.eptqid
@@ -93,8 +96,10 @@
93 96
         <result property="qtypename" column="qtypename" />
94 97
         <result property="classscore" column="classscore" />
95 98
         <result property="classsrate" column="classsrate" />
99
+        <result property="classavgscore" column="classavgscore" />
96 100
         <result property="gradescore" column="gradescore" />
97 101
         <result property="gradesrate" column="gradesrate" />
102
+        <result property="gradeavgscore" column="gradeavgscore" />
98 103
         <result property="qscore" column="score" />
99 104
         <result property="epid" column="epid" />
100 105
         <result property="qn" column="qn" />
@@ -108,7 +113,7 @@
108 113
     </resultMap>
109 114
     <select id="listSubjectQuestionsForTk" resultMap="listSubjectQuesTk">
110 115
         select cq.questionid,cq.classscore,cq.classsrate,cq.gradescore,cq.gradesrate,cq.qtypename,cq.score,
111
-        cq.epid,cq.qn,ps.studentid from e_rclass_question cq
116
+        cq.epid,cq.qn,ps.studentid,cq.classavgscore,cq.gradeavgscore from e_rclass_question cq
112 117
         left join e_paper_student ps on cq.epid=ps.epid and cq.classid=ps.classid
113 118
         where  cq.epid=#{epid} and ps.studentid=#{studentid} order by cq.qorder
114 119
     </select>

+ 2
- 1
sstudy/src/main/java/com/xhkjedu/sstudy/service/paper/PaperService.java View File

@@ -268,8 +268,9 @@ public class PaperService {
268 268
      */
269 269
     public Integer delPaper(TPaper paper){
270 270
         List<String> resourceUrls = paperFileService.listFolder(paper.getPaperid());//获取作业文件夹
271
+        int result =  paperMapper.delPaper(paper.getPaperid());
271 272
         messageSender.resourceDel(resourceUrls);//给文件服务器发送mq删除文件
272
-        return paperMapper.delPaper(paper.getPaperid());
273
+        return result;
273 274
     }
274 275
 
275 276
     /**

+ 3
- 1
sstudy/src/main/java/com/xhkjedu/sstudy/vo/question/QuestionVo.java View File

@@ -24,6 +24,9 @@ public class QuestionVo {
24 24
     //试题题干
25 25
     private String qstem;
26 26
 
27
+
28
+    private String qstemtxt;
29
+
27 30
     //试题选项
28 31
     private String qoption;
29 32
 
@@ -123,5 +126,4 @@ public class QuestionVo {
123 126
     //子题
124 127
     private List<Map> sonqlist;
125 128
 
126
-    private String qstemtxt;
127 129
 }

+ 1
- 0
sstudy/src/main/java/com/xhkjedu/sstudy/vo/question/UserBasketVo.java View File

@@ -4,6 +4,7 @@ import lombok.Data;
4 4
 
5 5
 import java.util.List;
6 6
 
7
+
7 8
 @Data
8 9
 public class UserBasketVo {
9 10
     //用户id

+ 4
- 2
sstudy/src/main/resources/mapper/question/UserBasketMapper.xml View File

@@ -13,6 +13,7 @@
13 13
             <result property="complexity" column="complexity"></result>
14 14
             <result property="ctype" column="ctype"></result>
15 15
             <result property="qstem" column="qstem"></result>
16
+            <result property="qstemtxt" column="qstemtxt"></result>
16 17
             <result property="qoption" column="qoption"></result>
17 18
             <result property="qanswer" column="qanswer"></result>
18 19
             <result property="qanalyze" column="qanalyze"></result>
@@ -40,6 +41,7 @@
40 41
         <result property="complexity" column="complexity"></result>
41 42
         <result property="ctype" column="ctype"></result>
42 43
         <result property="qstem" column="qstem"></result>
44
+        <result property="qstemtxt" column="qstemtxt"></result>
43 45
         <result property="qoption" column="qoption"></result>
44 46
         <result property="qanswer" column="qanswer"></result>
45 47
         <result property="qanalyze" column="qanalyze"></result>
@@ -55,7 +57,7 @@
55 57
         </collection>
56 58
     </resultMap>
57 59
     <select id="findAll" resultMap="basketResult">
58
-        select ub.*,q.questionid,q.score,q.complexity,q.ctype,q.qstem,q.qoption,q.qanswer,q.qanalyze,q.createtime
60
+        select ub.*,q.questionid,q.score,q.complexity,q.ctype,q.qstem,q.qstemtxt,q.qoption,q.qanswer,q.qanalyze,q.createtime
59 61
         ,q.count,qp.pointid,p.pointname,q.qlevel,q.snum,q.hashear,q.hearfile
60 62
         from t_user_basket ub left join t_subject_questiontype tsq on ub.qtypeid = tsq.qtypeid
61 63
         left join t_question q on ub.questionid = q.questionid
@@ -65,7 +67,7 @@
65 67
         order by tsq.qtypeorder,q.questionid
66 68
     </select>
67 69
     <select id="listSonQuestions" resultMap="listSonQuestions">
68
-        select q.questionid,q.score,q.complexity,q.ctype,q.qtypeid,q.qtypename,q.qstem,q.qoption,q.qanswer,q.qanalyze,q.createtime
70
+        select q.questionid,q.score,q.complexity,q.ctype,q.qtypeid,q.qtypename,q.qstem,q.qstemtxt,q.qoption,q.qanswer,q.qanalyze,q.createtime
69 71
          ,q.count,q.questionpid,q.qlevel,q.sorder,qp.pointid,p.pointname from t_question q
70 72
         left join t_question_point qp on q.questionid = qp.questionid
71 73
         left join t_point p on qp.pointid = p.pointid

Loading…
Cancel
Save