|
@@ -202,8 +202,8 @@
|
|
|
<if test="userName != null and userName != ''">
|
|
|
AND u.user_name LIKE concat('%', #{userName}, '%')
|
|
|
</if>
|
|
|
- <if test="phoneNumber != null and phoneNumber != ''">
|
|
|
- AND u.phone_number LIKE concat('%', #{phoneNumber}, '%')
|
|
|
+ <if test="nickName != null and nickName != ''">
|
|
|
+ AND u.nick_name LIKE concat('%', #{nickName}, '%')
|
|
|
</if>
|
|
|
<if test="tenantId != null and tenantId != 0"> AND u.tenant_id = #{tenantId}</if>
|
|
|
<!-- 数据范围过滤 -->
|
|
@@ -221,8 +221,8 @@
|
|
|
<if test="userName != null and userName != ''">
|
|
|
AND u.user_name LIKE concat('%', #{userName}, '%')
|
|
|
</if>
|
|
|
- <if test="phoneNumber != null and phoneNumber != ''">
|
|
|
- AND u.phone_number LIKE concat('%', #{phoneNumber}, '%')
|
|
|
+ <if test="nickName != null and nickName != ''">
|
|
|
+ AND u.nick_name LIKE concat('%', #{nickName}, '%')
|
|
|
</if>
|
|
|
<!-- 数据范围过滤 -->
|
|
|
${params.dataScope}
|