Browse Source

试题管理列表sharenum获取完善

tags/正式3.11.0
雍文秀 1 year ago
parent
commit
3dbf5b9c4b
1 changed files with 0 additions and 1 deletions
  1. 0
    1
      sstudy/src/main/resources/mapper/question/QuestionMapper.xml

+ 0
- 1
sstudy/src/main/resources/mapper/question/QuestionMapper.xml View File

@@ -126,7 +126,6 @@
126 126
     <select id="findAll" resultType="java.util.Map">
127 127
         select q.questionid,q.score,q.complexity,q.ctype,q.qstem,q.qoption,q.qanswer,q.qanalyze,q.belong,q.createid,q.schoolid
128 128
         ,q.qtypeid,q.qtypename,q.createtime,q.count,q.qstate,q.source,q.year,q.region,q.schoolname,q.hashear,q.hearfile,q.qlevel
129
-        ,(select count(*) from t_question q2 where q2.shareqid=q.questionid and q2.qstate=1 and q.schoolid=#{question.schoolid})sharenum
130 129
         from t_question q
131 130
         <if test="question.lsbid!=null and question.lsbid!='0'.toString() and question.lsbid!=''">
132 131
             left join t_question_director qd on q.questionid=qd.questionid

Loading…
Cancel
Save