|
@@ -176,8 +176,11 @@
|
176
|
176
|
<if test="question.directorid!=null and question.directorid!='0'.toString() and question.directorid!=''">
|
177
|
177
|
and qd.directorid=#{question.directorid}
|
178
|
178
|
</if>
|
179
|
|
- <if test="question.qtypeid!=null and question.qtypeid!='0'.toString() and question.qtypeid!=''">
|
180
|
|
- and q.qtypeid=#{question.qtypeid}
|
|
179
|
+ <if test="question.hashear!=null and question.hashear == 1">
|
|
180
|
+ and q.hashear=1
|
|
181
|
+ </if>
|
|
182
|
+ <if test="question.hashear!=1 and question.qtypeid!=null and question.qtypeid!='0'.toString() and question.qtypeid!=''">
|
|
183
|
+ and q.hashear=0 and q.qtypeid=#{question.qtypeid}
|
181
|
184
|
</if>
|
182
|
185
|
<if test="question.belong!=null and question.belong!=0">
|
183
|
186
|
<if test="question.belong==4 or question.belong==6">
|