|
@@ -533,7 +533,7 @@
|
|
|
<where>
|
|
|
u.tenant_id_ = #{tenantId}
|
|
|
<if test="search != null and search != ''">
|
|
|
- (u.id_ = #{search} OR u.`username_` LIKE CONCAT('%',#{search},'%'))
|
|
|
+ AND (u.id_ = #{search} OR u.`username_` LIKE CONCAT('%',#{search},'%'))
|
|
|
</if>
|
|
|
<if test="buyPractice != null and buyPractice == false">
|
|
|
AND c.firstBuyTime IS NULL
|