From bf5b01b14dc7bfc214e646425a62f5593890d7e3 Mon Sep 17 00:00:00 2001
From: jinlin <jinlin>
Date: 星期六, 08 十一月 2025 22:05:37 +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