|
|
@@ -697,7 +697,7 @@
|
|
|
,n.hotspot
|
|
|
from news n
|
|
|
left join district_glossory dg on dg.id = n.province_id
|
|
|
- where audit_status = 2
|
|
|
+ where audit_status = 2 and (`type` = 0 or `type` = 98 or `type` = 99)
|
|
|
<if test="policy.title != null ">
|
|
|
and title like concat('%',#{policy.title,jdbcType=VARCHAR},'%')
|
|
|
</if>
|
|
|
@@ -725,7 +725,7 @@
|
|
|
select n.id
|
|
|
from news n
|
|
|
left join district_glossory dg on dg.id = n.province_id
|
|
|
- where audit_status = 2
|
|
|
+ where audit_status = 2 and (`type` = 0 or `type` = 98 or `type` = 99)
|
|
|
<if test="policy.title != null ">
|
|
|
and title like concat('%',#{policy.title,jdbcType=VARCHAR},'%')
|
|
|
</if>
|