From ac6fe634dc6db33818c17a76b7271f166b2edeb1 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期二, 21 十一月 2023 14:57:00 +0800 Subject: [PATCH] update 优化 使用动态租户重构业务对租户的逻辑 --- ruoyi-modules/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml | 15 --------------- 1 files changed, 0 insertions(+), 15 deletions(-) diff --git a/ruoyi-modules/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml b/ruoyi-modules/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml index 52c1aa4..7af7dd0 100644 --- a/ruoyi-modules/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml +++ b/ruoyi-modules/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml @@ -118,21 +118,6 @@ where u.del_flag = '0' and u.email = #{email} </select> - <select id="selectTenantUserByUserName" parameterType="String" resultMap="SysUserResult"> - <include refid="selectUserVo"/> - where u.del_flag = '0' and u.user_name = #{userName} and u.tenant_id = #{tenantId} - </select> - - <select id="selectTenantUserByPhonenumber" parameterType="String" resultMap="SysUserResult"> - <include refid="selectUserVo"/> - where u.del_flag = '0' and u.phonenumber = #{phonenumber} and u.tenant_id = #{tenantId} - </select> - - <select id="selectTenantUserByEmail" parameterType="String" resultMap="SysUserResult"> - <include refid="selectUserVo"/> - where u.del_flag = '0' and u.email = #{email} and u.tenant_id = #{tenantId} - </select> - <select id="selectUserById" parameterType="Long" resultMap="SysUserResult"> <include refid="selectUserVo"/> where u.del_flag = '0' and u.user_id = #{userId} -- Gitblit v1.9.3