From cc00d8ea70f475b54dacf575b59b8e7629afe899 Mon Sep 17 00:00:00 2001
From: xuhy <3313886187@qq.com>
Date: 星期四, 06 十一月 2025 14:12:12 +0800
Subject: [PATCH] 后台党建引领,托育服务,社区公告

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

diff --git a/ruoyi-system/src/main/resources/mapper/system/TPartyBuildingMapper.xml b/ruoyi-system/src/main/resources/mapper/system/TPartyBuildingMapper.xml
index 94b9042..0d31552 100644
--- a/ruoyi-system/src/main/resources/mapper/system/TPartyBuildingMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/TPartyBuildingMapper.xml
@@ -22,5 +22,24 @@
     <sql id="Base_Column_List">
         id, party_title, party_type, party_cover, virtual_reading_count, read_count, party_detail, create_time, update_time, create_by, update_by, disabled
     </sql>
+    <select id="pageList" resultType="com.ruoyi.system.vo.TPartyBuildingVO">
+        SELECT
+        <include refid="Base_Column_List"/>
+            FROM t_party_building
+        <where>
+            <if test="query.partyTitle != null and query.partyTitle != ''">
+                AND party_title LIKE CONCAT('%',#{query.partyTitle},'%')
+            </if>
+            <if test="query.partyType != null">
+                AND party_type = #{query.partyType}
+            </if>
+            <if test="query.startTime != null and query.startTime != '' and query.endTime != null and query.endTime != ''">
+                AND create_time &gt;= #{query.startTime}
+                AND create_time &lt;= #{query.endTime}
+            </if>
+            AND disabled = ${@com.ruoyi.common.enums.DisabledEnum@NO.getCode()}
+        </where>
+        ORDER BY create_time DESC
+    </select>
 
 </mapper>

--
Gitblit v1.7.1