zrj
2024-06-14 6324f24aa5d36775e899c0ae8213f3c4c0597be3
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>