|
|
@@ -579,8 +579,9 @@
|
|
|
|
|
|
SELECT r.id ,r.roadshow_name,r.roadshow_intro,r.thumbnail FROM `roadshow` r
|
|
|
<where>
|
|
|
+ r.roadshow_state = '审核通过'
|
|
|
<if test="projectPhase !=null and projectPhase !='' and projectPhase !='不限'">
|
|
|
- r.project_phase = #{projectPhase}
|
|
|
+ and r.project_phase = #{projectPhase}
|
|
|
</if>
|
|
|
<if test="tradeField !=null and tradeField !='' and tradeField !='不限'">
|
|
|
and r.trade_field = #{tradeField}
|
|
|
@@ -595,8 +596,9 @@
|
|
|
|
|
|
SELECT count(*) FROM `roadshow` r
|
|
|
<where>
|
|
|
+ r.roadshow_state = '审核通过'
|
|
|
<if test="projectPhase !=null and projectPhase !='' and projectPhase !='不限'">
|
|
|
- r.project_phase = #{projectPhase}
|
|
|
+ and r.project_phase = #{projectPhase}
|
|
|
</if>
|
|
|
<if test="tradeField !=null and tradeField !='' and tradeField !='不限'">
|
|
|
and r.trade_field = #{tradeField}
|