ludc
2023-10-13 4a3dd290b99f08b6232c3f2f6d8907db15624128
Source/UBCS/ubcs-service/ubcs-system/src/main/resources/mapper/MenuMapper.xml
@@ -73,7 +73,7 @@
        ORDER BY menu.sort
    </select>
    <select id="lazyMenuList" resultMap="menuVOResultMap">
    <select id="lazyMenuPage" resultMap="menuVOResultMap">
        SELECT
            menu.*,
            (
@@ -221,7 +221,13 @@
    </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">
@@ -475,4 +481,13 @@
        GROUP BY m.path
    </select>
    <select id="selectMenuChildByBtnType" resultMap="menuResultMap">
        select pm.*
        from pl_sys_menu ps, pl_sys_menu pm
        where pm.is_deleted = 0
          and ps.category = 1
          and ps.CODE = #{btmType}
          and ps.id = pm.parent_id order by pm.sort asc
    </select>
</mapper>