|
|
@@ -464,7 +464,7 @@
|
|
|
b.`member` ,b.chargeback ,b.big_customer bigCustomer,b.follow_aname followAname
|
|
|
from user a left join user_mid b on a.id=b.uid left join admin c on a.aid=c.id
|
|
|
left join department d on c.department_id =d.id
|
|
|
- where 1=1
|
|
|
+ where a.share_type =2
|
|
|
<if test="userName != null">
|
|
|
and a.nickname like concat('%',#{userName},'%')
|
|
|
</if>
|
|
|
@@ -511,7 +511,7 @@
|
|
|
<select id="selectSignSummaryCount" resultType="integer">
|
|
|
select count(*)
|
|
|
from user a left join user_mid b on a.id=b.uid left join admin c on a.aid=c.id
|
|
|
- where 1=1
|
|
|
+ where a.share_type = 2
|
|
|
<if test="userName != null">
|
|
|
and a.nickname like concat('%',#{userName},'%')
|
|
|
</if>
|