From 9049b77f12ec8e41f533be100132ea71163af35e Mon Sep 17 00:00:00 2001
From: Fixiaobai <fixiaobai@163.com>
Date: 星期四, 31 八月 2023 16:44:29 +0800
Subject: [PATCH] 修改委托信息
---
user-server/src/main/resources/mapper/MenuMapper.xml | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/user-server/src/main/resources/mapper/MenuMapper.xml b/user-server/src/main/resources/mapper/MenuMapper.xml
index 1ea9b2d..57e059e 100644
--- a/user-server/src/main/resources/mapper/MenuMapper.xml
+++ b/user-server/src/main/resources/mapper/MenuMapper.xml
@@ -3,8 +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>
</mapper>
\ No newline at end of file
--
Gitblit v1.9.3