From 999d2f4d1529c8d62b6cdaf8370d12ba6fd1eaac Mon Sep 17 00:00:00 2001 From: lbw Date: Mon, 6 Feb 2023 16:34:12 +0800 Subject: [PATCH] =?UTF-8?q?:sparkles:=20Introducing=20new=20features.=20?= =?UTF-8?q?=E6=94=AF=E6=8C=81=20vue3=20=E4=BB=A3=E7=A0=81=E7=94=9F?= =?UTF-8?q?=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../core/constant/enums/StyleTypeEnum.java | 6 +- .../main/resources/mapper/SysUserMapper.xml | 113 +++++++----------- 2 files changed, 50 insertions(+), 69 deletions(-) diff --git a/pigx-common/pigx-common-core/src/main/java/com/pig4cloud/pigx/common/core/constant/enums/StyleTypeEnum.java b/pigx-common/pigx-common-core/src/main/java/com/pig4cloud/pigx/common/core/constant/enums/StyleTypeEnum.java index aa5791057..f3325eb9d 100644 --- a/pigx-common/pigx-common-core/src/main/java/com/pig4cloud/pigx/common/core/constant/enums/StyleTypeEnum.java +++ b/pigx-common/pigx-common-core/src/main/java/com/pig4cloud/pigx/common/core/constant/enums/StyleTypeEnum.java @@ -33,7 +33,11 @@ public enum StyleTypeEnum { /** * magic */ - MAGIC("3", "magic"); + MAGIC("3", "magic"), + /** + * element-plus + */ + PLUS("4", "plus"); /** * 类型 diff --git a/pigx-upms/pigx-upms-biz/src/main/resources/mapper/SysUserMapper.xml b/pigx-upms/pigx-upms-biz/src/main/resources/mapper/SysUserMapper.xml index 41c7fc4d6..630cc5f03 100644 --- a/pigx-upms/pigx-upms-biz/src/main/resources/mapper/SysUserMapper.xml +++ b/pigx-upms/pigx-upms-biz/src/main/resources/mapper/SysUserMapper.xml @@ -48,86 +48,59 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - u.user_id, - u.username, - u.password, - u.salt, - u.phone, - u.avatar, - u.wx_openid, - u.qq_openid, - u.dept_id, - u.del_flag, - u.lock_flag, - u.tenant_id, + u.username, + u.password, + u.salt, + u.phone, + u.avatar, + u.wx_openid, + u.qq_openid, + u.dept_id, + u.del_flag, + u.lock_flag, + u.tenant_id, u.create_by, - u.create_time ucreate_time, - u.update_time uupdate_time, - r.role_id, - r.role_name, - r.role_code, - r.role_desc, - r.create_time rcreate_time, - r.update_time rupdate_time + u.create_time ucreate_time, + u.update_time uupdate_time, + r.role_id, + r.role_name, + r.role_code, + r.role_desc, + r.create_time rcreate_time, + r.update_time rupdate_time u.user_id, - u.username, - u.password, - u.salt, - u.phone, - u.avatar, - u.wx_openid, - u.qq_openid, - u.del_flag, - u.lock_flag, - u.tenant_id, + u.username, + u.password, + u.salt, + u.phone, + u.avatar, + u.wx_openid, + u.qq_openid, + u.del_flag, + u.lock_flag, + u.tenant_id, u.nickname, u.name, u.email, u.create_by, - u.create_time ucreate_time, - u.update_time uupdate_time, - r.role_id, - r.role_name, - r.role_code, - r.role_desc, - r.create_time rcreate_time, - r.update_time rupdate_time, - d.name dept_name, - d.dept_id + u.create_time ucreate_time, + u.update_time uupdate_time, + r.role_id, + r.role_name, + r.role_code, + r.role_desc, + r.create_time rcreate_time, + r.update_time rupdate_time, + d.name dept_name, + d.dept_id - SELECT FROM @@ -137,7 +110,7 @@ WHERE u.username = #{username} - SELECT FROM @@ -182,6 +155,10 @@ AND u.dept_id = #{query.deptId} + + + AND u.phone LIKE #{phoneLike} +