浏览代码

feat:修复选择会员查询

caoliqin 2 周之前
父节点
当前提交
3bb382debc
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      fs-service/src/main/resources/mapper/his/FsUserMapper.xml

+ 1 - 1
fs-service/src/main/resources/mapper/his/FsUserMapper.xml

@@ -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>