|
|
@@ -434,7 +434,7 @@
|
|
|
left join district_glossory dg1 on b.location_province = dg1.id
|
|
|
left join district_glossory dg2 on b.location_city = dg2.id
|
|
|
left join district_glossory dg3 on b.location_area = dg3.id
|
|
|
- where a.type = 1 and a.share_type = 1 and a.status = 0 and a.source in(1,2,3)
|
|
|
+ where a.type = 1 and a.share_type = 1 and a.status = 0 and a.source in(1,2,3) and a.new_channel=0
|
|
|
<if test="aid != null and aid !=''">
|
|
|
and a.aid = #{aid,jdbcType=VARCHAR}
|
|
|
</if>
|
|
|
@@ -473,7 +473,7 @@
|
|
|
<if test="province != null or city != null or area != null">
|
|
|
inner join organization_identity b on a.id = b.uid
|
|
|
</if>
|
|
|
- where a.type = 1 and a.share_type = 1 and a.status = 0 and a.source in(1,2,3)
|
|
|
+ where a.type = 1 and a.share_type = 1 and a.status = 0 and a.source in(1,2,3) and a.new_channel=0
|
|
|
<if test="aid != null and aid !=''">
|
|
|
and a.aid = #{aid,jdbcType=VARCHAR}
|
|
|
</if>
|