增加多租户功能(应用隔离)

This commit is contained in:
zlt
2019-08-09 00:46:18 +08:00
parent d7e914c6ce
commit d0d7deaf7a
44 changed files with 546 additions and 330 deletions
@@ -41,15 +41,13 @@
<if test="params.searchKey != null and params.searchKey != ''">
and client_id like concat('%', #{params.searchKey}, '%')
</if>
</where>
</sql>
<select id="findList" resultType="com.central.oauth.model.Client">
select id , client_id, client_name , resource_ids ,
client_secret ,
client_secret_str ,
web_server_redirect_uri from oauth_client_details t
select id, client_id, client_name, resource_ids
, client_secret, client_secret_str, web_server_redirect_uri
from oauth_client_details
<include refid="where"/>
</select>
</mapper>