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