blade-auth/src/main/java/org/springblade/system/mapper/AuthClientMapper.xml
@@ -24,4 +24,13 @@ <result column="autoapprove" property="autoapprove"/> </resultMap> <!--客户端列表树--> <select id="tree" resultType="org.springblade.system.entity.AuthClient"> select id,client_id,client_name from blade_client where is_deleted = 0 <if test="authClient.clientId!=null and authClient.clientId!='' and authClient.clientId!='sys'"> and client_id = #{authClient.clientId} </if> </select> </mapper>