From 7a609619ba76ae283bc35c79ba4d55dbb617c508 Mon Sep 17 00:00:00 2001 From: sunjiabei Date: Tue, 22 Jul 2025 13:55:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=B0=E5=8C=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/mapper/RoleMapper.xml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/resources/mapper/RoleMapper.xml b/src/main/resources/mapper/RoleMapper.xml index 57a84e9..e9e2224 100644 --- a/src/main/resources/mapper/RoleMapper.xml +++ b/src/main/resources/mapper/RoleMapper.xml @@ -59,6 +59,7 @@ r.role_name AS roleName, r.priority AS priority, r.father_id AS fatherId, + r.market AS market, -- 通过自连接查询父角色名称 father.role_name AS fatherName FROM role r @@ -68,6 +69,9 @@ r.role_name LIKE CONCAT('%', #{roleName}, '%') + + r.market LIKE CONCAT('%', #{market}, '%') + AND r.market IN