From 158ee292eb11479414a009975973ab20ba24a6e7 Mon Sep 17 00:00:00 2001 From: wanglei <921888199@qq.com> Date: Fri, 30 Sep 2022 18:07:46 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=9B=B4=E6=96=B0=E3=80=91wrapper?= =?UTF-8?q?=E5=8E=BB=E6=8E=89=E8=A1=A8=E5=88=AB=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sys/modular/user/service/impl/SysUserServiceImpl.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/snowy-plugin/snowy-plugin-sys/src/main/java/vip/xiaonuo/sys/modular/user/service/impl/SysUserServiceImpl.java b/snowy-plugin/snowy-plugin-sys/src/main/java/vip/xiaonuo/sys/modular/user/service/impl/SysUserServiceImpl.java index ef497501..1acdb215 100644 --- a/snowy-plugin/snowy-plugin-sys/src/main/java/vip/xiaonuo/sys/modular/user/service/impl/SysUserServiceImpl.java +++ b/snowy-plugin/snowy-plugin-sys/src/main/java/vip/xiaonuo/sys/modular/user/service/impl/SysUserServiceImpl.java @@ -844,12 +844,12 @@ public class SysUserServiceImpl extends ServiceImpl impl try { QueryWrapper queryWrapper = new QueryWrapper<>(); if (ObjectUtil.isNotEmpty(sysUserExportParam.getSearchKey())) { - queryWrapper.and(q -> q.like("SYS_USER.ACCOUNT", sysUserExportParam.getSearchKey()) - .or().like("SYS_USER.NAME", sysUserExportParam.getSearchKey()) - .or().like("SYS_USER.PHONE", sysUserExportParam.getSearchKey())); + queryWrapper.and(q -> q.like("ACCOUNT", sysUserExportParam.getSearchKey()) + .or().like("NAME", sysUserExportParam.getSearchKey()) + .or().like("PHONE", sysUserExportParam.getSearchKey())); } if (ObjectUtil.isNotEmpty(sysUserExportParam.getUserStatus())) { - queryWrapper.eq("SYS_USER.STATUS", sysUserExportParam.getUserStatus()); + queryWrapper.eq("STATUS", sysUserExportParam.getUserStatus()); } String fileName = "SNOWY2.0系统B端用户信息清单"; List sysUserExportResultList = this.baseMapper.selectList(queryWrapper).stream().map(sysUser -> {