瀏覽代碼

试题管理列表sharenum获取完善

tags/正式3.11.0
雍文秀 1 年之前
父節點
當前提交
3dbf5b9c4b
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0
    1
      sstudy/src/main/resources/mapper/question/QuestionMapper.xml

+ 0
- 1
sstudy/src/main/resources/mapper/question/QuestionMapper.xml 查看文件

@@ -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…
取消
儲存