浏览代码

修复 系统人员查询

魏熙美 6 年前
父节点
当前提交
6043b8fbe0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/main/java/com.huiju.welcome/controller/SysUserController.java

+ 1
- 1
src/main/java/com.huiju.welcome/controller/SysUserController.java 查看文件

159
             queryWrapper.eq("phone", phone);
159
             queryWrapper.eq("phone", phone);
160
         }
160
         }
161
 
161
 
162
-        if (null != identity ) {
162
+        if (null != identity &&  !"-1".equals(identity)) {
163
             queryWrapper.eq("user_identity", identity);
163
             queryWrapper.eq("user_identity", identity);
164
         }
164
         }
165
 
165