|
|
@@ -72,7 +72,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="userId != null">and user_id = #{userId}</if>
|
|
|
<if test="nickName != null and nickName != ''"> and nick_name like concat( #{nickName}, '%')</if>
|
|
|
<if test="avatar != null and avatar != ''"> and avatar = #{avatar}</if>
|
|
|
- <if test="phone != null and phone != '' and phoneUnencrypted != null and phoneUnencrypted != ''">
|
|
|
+ <if test="phone != null and phone != ''">
|
|
|
and (phone = #{phone} or phone = #{phoneUnencrypted})
|
|
|
</if>
|
|
|
<if test="integral != null "> and integral = #{integral}</if>
|