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 7a39987cbe [type: bug] Add namespace_id filter to app_auth
selectByCondition (#6828) (#7000)
7a39987cbe is described below
commit 7a39987cbe88d84844a46c770b907b57fe9274e7
Author: Arvin <[email protected]>
AuthorDate: Fri Sep 4 10:39:14 2026 +0800
[type: bug] Add namespace_id filter to app_auth selectByCondition (#6828)
(#7000)
Signed-off-by: zhang-arvin <[email protected]>
Co-authored-by: aias00 <[email protected]>
---
shenyu-admin/src/main/resources/mappers/app-auth-sqlmap.xml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/shenyu-admin/src/main/resources/mappers/app-auth-sqlmap.xml
b/shenyu-admin/src/main/resources/mappers/app-auth-sqlmap.xml
index 4923c18132..3f0312a250 100644
--- a/shenyu-admin/src/main/resources/mappers/app-auth-sqlmap.xml
+++ b/shenyu-admin/src/main/resources/mappers/app-auth-sqlmap.xml
@@ -56,6 +56,9 @@
<if test="condition.phone != null and condition.phone != ''">
AND phone = #{condition.phone, jdbcType=VARCHAR}
</if>
+ <if test="condition.namespaceId != null and condition.namespaceId
!= ''">
+ AND namespace_id = #{condition.namespaceId, jdbcType=VARCHAR}
+ </if>
</where>
</select>