|
|
@@ -86,7 +86,7 @@ public interface FsUserMapper
|
|
|
" where f1.is_del=0 "+
|
|
|
" <if test=\"nickName != null and nickName != ''\"> and f1.nick_name like concat( #{nickName}, '%')</if>\n" +
|
|
|
" <if test=\"avatar != null and avatar != ''\"> and f1.avatar = #{avatar}</if>\n" +
|
|
|
- " <if test=\"phone != null and phone != ''\"> and f1.phone like concat('%', #{phone}, '%')</if>\n" +
|
|
|
+ " <if test=\"phone != null and phone != ''\"> and (f1.phone like concat('%', #{phone}, '%') or f1.phone = #{encryptPhone} ) </if>\n" +
|
|
|
" <if test=\"status != null \"> and f1.status = #{status}</if>\n" +
|
|
|
" <if test=\"isBuy != null \"> and f1.is_buy = #{isBuy}</if>\n" +
|
|
|
" <if test=\"userId != null \"> and f1.user_id = #{userId}</if>\n" +
|