ludc
2023-10-11 869a5b02c515dca42022c53647edbfbef8c2c3c1
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">
@@ -478,9 +484,9 @@
    <select id="selectMenuChildByBtnType" resultMap="menuResultMap">
        select pm.*
        from pl_sys_menu ps, pl_sys_menu pm
        where ps.is_deleted = 0
        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>