|
|
@@ -62,7 +62,9 @@ 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 phone = #{phone}</if>
|
|
|
+ <if test="phone != null and phone != '' and phoneUnencrypted != null and phoneUnencrypted != ''">
|
|
|
+ and (phone = #{phone} or phone = #{phoneUnencrypted})
|
|
|
+ </if>
|
|
|
<if test="integral != null "> and integral = #{integral}</if>
|
|
|
<if test="signNum != null "> and sign_num = #{signNum}</if>
|
|
|
<if test="status != null "> and status = #{status}</if>
|