This is an automated email from the ASF dual-hosted git repository.

Aias00 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shenyu.git


The following commit(s) were added to refs/heads/master by this push:
     new 31e0c3e34a   fix: remove unsupported auth path namespace queries 
(#7185)
31e0c3e34a is described below

commit 31e0c3e34a71436f091dbbd00f181b65de896666
Author: Southern <[email protected]>
AuthorDate: Sat Sep 26 19:59:03 2026 +0800

      fix: remove unsupported auth path namespace queries (#7185)
    
    Remove the unused findByNamespaceId and findByNamespaceIds methods in 
AuthPathMapper.
    
      Delete the corresponding namespace_id queries in auth-path-sqlmap.xml
    
    Co-authored-by: aias00 <[email protected]>
---
 .../org/apache/shenyu/admin/mapper/AuthPathMapper.java  | 16 ----------------
 .../src/main/resources/mappers/auth-path-sqlmap.xml     | 17 -----------------
 2 files changed, 33 deletions(-)

diff --git 
a/shenyu-admin/src/main/java/org/apache/shenyu/admin/mapper/AuthPathMapper.java 
b/shenyu-admin/src/main/java/org/apache/shenyu/admin/mapper/AuthPathMapper.java
index 8c0ba91d11..256f85ceee 100644
--- 
a/shenyu-admin/src/main/java/org/apache/shenyu/admin/mapper/AuthPathMapper.java
+++ 
b/shenyu-admin/src/main/java/org/apache/shenyu/admin/mapper/AuthPathMapper.java
@@ -80,22 +80,6 @@ public interface AuthPathMapper extends ExistProvider {
      */
     List<AuthPathDO> findByAuthId(String authId);
 
-    /**
-     * Find by namespace id list.
-     *
-     * @param namespaceId the namespaceId
-     * @return the list
-     */
-    List<AuthPathDO> findByNamespaceId(String namespaceId);
-
-    /**
-     * Find by namespace id list.
-     *
-     * @param namespaceIds the namespaceIds
-     * @return the list
-     */
-    List<AuthPathDO> findByNamespaceIds(List<String> namespaceIds);
-    
     /**
      * find all the {@link AuthPathDO} by authIdList.
      *
diff --git a/shenyu-admin/src/main/resources/mappers/auth-path-sqlmap.xml 
b/shenyu-admin/src/main/resources/mappers/auth-path-sqlmap.xml
index d33c02543b..ce7619e27b 100644
--- a/shenyu-admin/src/main/resources/mappers/auth-path-sqlmap.xml
+++ b/shenyu-admin/src/main/resources/mappers/auth-path-sqlmap.xml
@@ -45,23 +45,6 @@
          WHERE auth_id = #{authId, jdbcType=VARCHAR}
     </select>
 
-    <select id="findByNamespaceId" parameterType="java.lang.String" 
resultMap="BaseResultMap">
-        SELECT
-        <include refid="Base_Column_List"/>
-        FROM auth_path
-        WHERE namespace_id = #{namespaceId, jdbcType=VARCHAR}
-    </select>
-
-    <select id="findByNamespaceIds" parameterType="java.lang.String" 
resultMap="BaseResultMap">
-        SELECT
-        <include refid="Base_Column_List"/>
-        FROM auth_path
-        WHERE namespace_id IN
-        <foreach item="namespaceId" collection="namespaceIds" open="(" 
separator="," close=")">
-            #{namespaceId, jdbcType=VARCHAR}
-        </foreach>
-    </select>
-
     <select id="findByAuthIdList" parameterType="java.lang.String" 
resultMap="BaseResultMap">
         SELECT
                <include refid="Base_Column_List"/>

Reply via email to