From d30e385951ce03335a5023f0775fd144da3c0b88 Mon Sep 17 00:00:00 2001
From: jinlin <jinlin>
Date: 星期二, 18 三月 2025 11:18:31 +0800
Subject: [PATCH] 修改

---
 src/main/resources/mapper/menu/MenuDao.xml |   19 +++++++++++--------
 1 files changed, 11 insertions(+), 8 deletions(-)

diff --git a/src/main/resources/mapper/menu/MenuDao.xml b/src/main/resources/mapper/menu/MenuDao.xml
index 64ba80f..6935e5f 100644
--- a/src/main/resources/mapper/menu/MenuDao.xml
+++ b/src/main/resources/mapper/menu/MenuDao.xml
@@ -7,14 +7,17 @@
     </update>
 
     <select id="getList" resultType="com.example.server.menu.model.Menu">
-        select a.id,a.pid,a.menu_name
-        from menu a
-        where
-            a.is_delete = 0
-            <if test="site!='宸ヤ綔缁�'">
-                and menu_name not like '%绠$悊%'
-            </if>
-        order by sort
+        SELECT a.id, a.pid, a.menu_name
+        FROM menu a
+        WHERE
+        a.is_delete = 0
+        <if test="site != '宸ヤ綔缁�'">
+            AND (
+            menu_name NOT LIKE '%绠$悊%'
+            OR menu_name = '涓夌骇缃戠粶鍥剧鐞�'
+            )
+        </if>
+        ORDER BY sort;
     </select>
 
 </mapper>

--
Gitblit v1.9.1