|
|
@@ -1502,12 +1502,12 @@
|
|
|
select b.id,b.nickname as name from
|
|
|
(select uid from user_lock_release where type = 0 and status = 0 and aid = #{aid} group by uid) a
|
|
|
inner join user b on a.uid = b.id
|
|
|
- where b.status != 1 and b.channel =0 and new_channel=0 and b.nickname like concat('%',#{name},'%')
|
|
|
+ where b.status = 0 and b.channel =0 and new_channel=0 and b.nickname like concat('%',#{name},'%')
|
|
|
</select>
|
|
|
|
|
|
<select id="selectSignedCustomerByName" resultType="com.goafanti.customer.bo.CustomerSimpleBo">
|
|
|
select b.id,b.nickname as name from user b
|
|
|
- where b.status != 1 and b.new_channel=0
|
|
|
+ where b.status = 0 and b.new_channel=0
|
|
|
<if test="type==2">
|
|
|
and b.channel=1
|
|
|
</if>
|