| | |
| | | </select> |
| | | |
| | | <select id="grantTree" resultMap="treeNodeResultMap"> |
| | | select id, parent_id, name as title, id as "value", id as "key" from pl_sys_menu where is_deleted = 0 order by sort |
| | | select |
| | | id, |
| | | parent_id, |
| | | name as title, |
| | | id as "value", |
| | | id as "key" |
| | | from pl_sys_menu where is_deleted = 0 order by sort |
| | | </select> |
| | | |
| | | <select id="grantTreeByRole" resultMap="treeNodeResultMap"> |
| | |
| | | from pl_sys_menu ps, pl_sys_menu pm |
| | | where pm.is_deleted = 0 |
| | | and ps.category = 1 |
| | | and ps.alias = #{btmType} |
| | | and ps.CODE = #{btmType} |
| | | and ps.id = pm.parent_id order by pm.sort asc |
| | | </select> |
| | | |