更正sql

This commit is contained in:
Dftre 2024-07-22 22:56:42 +08:00
parent f6f5a1cdff
commit 346f4d7f51

View File

@ -43,7 +43,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</select>
<select id="checkAuthUser" parameterType="OauthUser" resultType="int">
select count(1) from sys_auth_user where user_id=#{userId} and source=#{source} limit 1
select count(1) from oauth_user where user_id=#{userId} and source=#{source} limit 1
</select>
<select id="selectOauthUserList" parameterType="OauthUser" resultMap="OauthUserResult">