spring-cloud/sk-module-data/sk-module-data-biz/src/main/resources/mappers/auth/AuthClientMapper.xml

8 lines
431 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="org.sk.module.data.dal.mapper.auth.AuthClientMapper">
<select id="selectClientByIdAndSecret" resultType="java.lang.Integer">
select count(0) from system_oauth2_client WHERE client_id =#{id} and secret = #{secret} and deleted = 0
</select>
</mapper>