From b7c0e76da2529a7428ab15686b47214b7d621ad8 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期二, 20 六月 2023 16:50:30 +0800 Subject: [PATCH] update 优化 三方登录接口代码逻辑 --- ruoyi-modules/ruoyi-system/src/main/resources/mapper/system/SysSocialMapper.xml | 16 ---------------- 1 files changed, 0 insertions(+), 16 deletions(-) diff --git a/ruoyi-modules/ruoyi-system/src/main/resources/mapper/system/SysSocialMapper.xml b/ruoyi-modules/ruoyi-system/src/main/resources/mapper/system/SysSocialMapper.xml index 90f5b1a..baa4b59 100644 --- a/ruoyi-modules/ruoyi-system/src/main/resources/mapper/system/SysSocialMapper.xml +++ b/ruoyi-modules/ruoyi-system/src/main/resources/mapper/system/SysSocialMapper.xml @@ -4,20 +4,4 @@ "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <mapper namespace="org.dromara.system.mapper.SysSocialMapper"> - <resultMap type="org.dromara.system.domain.vo.SysSocialVo" id="SysSocialAuthResult"> - <id property="id" column="id"/> - </resultMap> - - <select id="selectByAuthId" parameterType="String" resultMap="SysSocialAuthResult"> - select b.user_id, - b.tenant_id, - b.user_name, - b.password, - a.auth_id, - a.source - from sys_social a - left join sys_user b on a.user_id = b.user_id - where a.auth_id = #{authId} - </select> - </mapper> -- Gitblit v1.9.3