From 05f45c0cfea4877c5b8c1981fc71452c4405d671 Mon Sep 17 00:00:00 2001
From: xuhy <3313886187@qq.com>
Date: 星期二, 13 一月 2026 14:23:11 +0800
Subject: [PATCH] 修改

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

diff --git a/ruoyi-system/src/main/resources/mapper/system/THelpNeedsMapper.xml b/ruoyi-system/src/main/resources/mapper/system/THelpNeedsMapper.xml
index a8664f8..2e5df57 100644
--- a/ruoyi-system/src/main/resources/mapper/system/THelpNeedsMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/THelpNeedsMapper.xml
@@ -41,6 +41,7 @@
         <if test="query.startTime != null and query.startTime != '' and query.endTime != null and query.endTime != ''">
             and t1.create_time between #{query.startTime} and #{query.endTime}
         </if>
+        AND t1.disabled = ${@com.ruoyi.common.enums.DisabledEnum@NO.getCode()}
         order by t1.create_time desc
     </select>
     <select id="exportHelpNeeds" resultType="com.ruoyi.system.export.THelpNeedsExport">
@@ -55,6 +56,7 @@
         <if test="query.startTime != null and query.startTime != '' and query.endTime != null and query.endTime != ''">
             and t1.create_time between #{query.startTime} and #{query.endTime}
         </if>
+        AND t1.disabled = ${@com.ruoyi.common.enums.DisabledEnum@NO.getCode()}
         order by t1.create_time desc
     </select>
 

--
Gitblit v1.7.1