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