Fixiaobai
2023-08-30 bdfbdd352a37ad4a21361dccb0f16717ae6116c3
修改权限
已修改1个文件
10 ■■■■ 文件已修改
user-server/src/main/resources/mapper/MenuMapper.xml 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
user-server/src/main/resources/mapper/MenuMapper.xml
@@ -3,11 +3,15 @@
<mapper namespace="com.yuanchu.limslaboratory.mapper.MenuMapper">
    <select id="getMenuList" resultType="com.yuanchu.limslaboratory.pojo.Menu">
        select id,name,parent_id parentId
        select id, name, parent_id parentId
        from menu
        where state =1
        where state = 1
          and id != 39
       and parent_id != 39
    </select>
    <select id="getMenuNameAndId" resultType="map">
        select url,id,name from menu where state=1
        select url, id, name
        from menu
        where state = 1
    </select>
</mapper>