From 19cacf4c487abd16d7e4c6de1cb58fdeb4f28525 Mon Sep 17 00:00:00 2001 From: panqihua Date: Thu, 12 Jan 2023 05:51:22 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=8C=89=E6=89=8B=E6=9C=BA?= =?UTF-8?q?=E5=8F=B7=E6=9F=A5=E8=AF=A2=E7=94=A8=E6=88=B7=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/ruoyi/system/service/impl/SysUserServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysUserServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysUserServiceImpl.java index f6b4866..3560e16 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysUserServiceImpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysUserServiceImpl.java @@ -542,7 +542,7 @@ public class SysUserServiceImpl implements ISysUserService @Override public List queryUserByPhone(String phonenumber) { LambdaQueryWrapper wrapper=new LambdaQueryWrapper<>(); - wrapper.select(SysUser::getUserId,SysUser::getPhonenumber).like(SysUser::getPhonenumber,phonenumber); + wrapper.select(SysUser::getUserId,SysUser::getPhonenumber).eq(SysUser::getDelFlag,"0").like(SysUser::getPhonenumber,phonenumber); return userMapper.selectList(wrapper); } }