From 0a1533fd30ec1a2f4624ccda4ff11f2535ea8a46 Mon Sep 17 00:00:00 2001
From: xuhy <3313886187@qq.com>
Date: 星期三, 11 十二月 2024 18:37:14 +0800
Subject: [PATCH] 修改

---
 ruoyi-system/src/main/resources/mapper/system/TIndexMenuMapper.xml |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/ruoyi-system/src/main/resources/mapper/system/TIndexMenuMapper.xml b/ruoyi-system/src/main/resources/mapper/system/TIndexMenuMapper.xml
index 16635ac..fbdd149 100644
--- a/ruoyi-system/src/main/resources/mapper/system/TIndexMenuMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/TIndexMenuMapper.xml
@@ -39,7 +39,7 @@
         WHERE 1=1 and tt.is_delete = 0
         <if test="cityCode != null and cityCode.size() > 0">
             <foreach collection="cityCode" item="id"  separator=",">
-                and   FIND_IN_SET(#{id}, tt.region_ids)
+                or   FIND_IN_SET(#{id}, tt.region_ids)
             </foreach>
         </if>
     </select>
@@ -208,6 +208,7 @@
         select  sum(payment_amount),count(1)
             from t_order
         <where>
+            is_delete = 0
             <if test="dayType == 1">
                and  DATE(create_time ) = CURDATE()
             </if>

--
Gitblit v1.7.1