|
|
@@ -256,7 +256,7 @@
|
|
|
left join district_glossory dg2 on b.city = dg2.id
|
|
|
left join district_glossory dg3 on b.area = dg3.id
|
|
|
left join industry_category c on b.industry = c.id
|
|
|
- left join admin d on t2.aid = d.id
|
|
|
+ left join admin d on t2.aid = d.id where 1 = 1
|
|
|
<if test="name != null and name != ''">
|
|
|
and t2.identify_name like concat('%',#{name},'%')
|
|
|
</if>
|
|
|
@@ -291,7 +291,7 @@
|
|
|
inner join
|
|
|
(select id,aid,share_type,society_tag,identify_name,transfer_time from user where type = 0 and status != 1)t2
|
|
|
on t0.buyer_id = t2.id
|
|
|
- left join user_identity b on t0.buyer_id = b.uid
|
|
|
+ left join user_identity b on t0.buyer_id = b.uid where 1 = 1
|
|
|
<if test="name != null and name != ''">
|
|
|
and t2.identify_name like concat('%',#{name},'%')
|
|
|
</if>
|
|
|
@@ -581,7 +581,7 @@
|
|
|
left join district_glossory dg2 on b.location_city = dg2.id
|
|
|
left join district_glossory dg3 on b.location_area = dg3.id
|
|
|
left join industry_category c on b.industry = c.id
|
|
|
- left join admin d on t2.aid = d.id where 1=1
|
|
|
+ left join admin d on t2.aid = d.id where 1 = 1
|
|
|
<if test="name != null and name != ''">
|
|
|
and t2.identify_name like concat('%',#{name},'%')
|
|
|
</if>
|
|
|
@@ -617,7 +617,7 @@
|
|
|
inner join
|
|
|
(select id,aid,share_type,society_tag,identify_name,transfer_time from user where type = 1)t2
|
|
|
on t0.buyer_id = t2.id
|
|
|
- left join organization_identity b on t0.buyer_id = b.uid where 1=1
|
|
|
+ left join organization_identity b on t0.buyer_id = b.uid where 1 = 1
|
|
|
<if test="name != null and name != ''">
|
|
|
and t2.identify_name like concat('%',#{name},'%')
|
|
|
</if>
|