From 6ed424f89e0bb7f0611b89a2ee947b6e0b1c089b Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期四, 30 三月 2023 10:19:17 +0800 Subject: [PATCH] add 增加 邮箱验证码发送接口 add 增加 邮箱登陆接口 --- ruoyi-modules/ruoyi-system/src/main/resources/mapper/system/SysUserMapper.xml | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 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 481c17a..92d8c9e 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 @@ -102,6 +102,11 @@ where u.del_flag = '0' and u.phonenumber = #{phonenumber} </select> + <select id="selectUserByEmail" parameterType="String" resultMap="SysUserResult"> + <include refid="selectUserVo"/> + 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} @@ -112,6 +117,11 @@ 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