| | |
| | | </resultMap> |
| | | |
| | | <select id="selectRolePage" resultMap="roleResultMap"> |
| | | select * from blade_role where is_deleted = 0 |
| | | select * from pl_org_role where is_deleted = 0 |
| | | </select> |
| | | |
| | | <select id="tree" resultMap="treeNodeResultMap"> |
| | | select id, parent_id, role_name as title, id as "value", id as "key" from blade_role where is_deleted = 0 |
| | | select id, parent_id, role_name as title, id as "value", id as "key" from pl_org_role where is_deleted = 0 |
| | | <if test="param1!=null"> |
| | | and tenant_id = #{param1} |
| | | </if> |
| | |
| | | SELECT |
| | | role_name |
| | | FROM |
| | | blade_role |
| | | pl_org_role |
| | | WHERE |
| | | id IN |
| | | <foreach collection="array" item="ids" index="index" open="(" close=")" separator=","> |
| | |
| | | SELECT |
| | | role_alias |
| | | FROM |
| | | blade_role |
| | | pl_org_role |
| | | WHERE |
| | | id IN |
| | | <foreach collection="array" item="ids" index="index" open="(" close=")" separator=","> |