|
@@ -41,7 +41,6 @@
|
41
|
41
|
questionid)a
|
42
|
42
|
left join t_question_class qc on a.qcid=qc.qcid
|
43
|
43
|
left join t_paper p on qc.paperid=p.paperid
|
44
|
|
- left join t_question_director qd on qc.questionid=qd.questionid
|
45
|
44
|
where qc.classid=#{question.classid}
|
46
|
45
|
and qc.createtime>=#{question.starttime}
|
47
|
46
|
and qc.createtime<=#{question.stoptime}
|
|
@@ -49,10 +48,10 @@
|
49
|
48
|
and p.subjectid=#{question.subjectid}
|
50
|
49
|
</if>
|
51
|
50
|
<if test="question.lsbid!=null and question.lsbid!='0'.toString() and question.lsbid!=''">
|
52
|
|
- and qd.lsbid=#{question.lsbid}
|
|
51
|
+ and p.lsbid=#{question.lsbid}
|
53
|
52
|
</if>
|
54
|
53
|
<if test="question.directorid!=null and question.directorid!='0'.toString() and question.directorid!=''">
|
55
|
|
- and qd.directorid=#{question.directorid}
|
|
54
|
+ and p.directorid=#{question.directorid}
|
56
|
55
|
</if>
|
57
|
56
|
<if test="question.qtypeid!=null and question.qtypeid!='0'.toString() and question.qtypeid!=''">
|
58
|
57
|
<if test="question.qtypeid!='tlt'">and qc.hashear=0 and qc.qtypeid=#{question.qtypeid}</if>
|