From 0561b12e8c5570a0f7e812543cc3460f80fee416 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Thu, 11 Nov 2021 10:29:28 +0800
Subject: [PATCH] 20211108

---
 gc-sys/src/main/resources/mapper/system/SysNewsMapper.xml |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/gc-sys/src/main/resources/mapper/system/SysNewsMapper.xml b/gc-sys/src/main/resources/mapper/system/SysNewsMapper.xml
index 1bb4a94..77735fc 100644
--- a/gc-sys/src/main/resources/mapper/system/SysNewsMapper.xml
+++ b/gc-sys/src/main/resources/mapper/system/SysNewsMapper.xml
@@ -4,6 +4,7 @@
 
     <select id="selectSysNewsListVo" resultType="com.xzx.gc.system.vo.SysNewsListVo">
         select * from xzx_sys_news
+        where del_flag=0
         order by sort ASC
     </select>
 
@@ -34,5 +35,26 @@
         where  news_id = #{newsId}
     </update>
 
+    <select id="selectSysNews" resultType="com.xzx.gc.system.vo.ApiNewsListVo">
+        select * from xzx_sys_news
+        where del_flag=0 and status = 2
+        order by sort ASC
+    </select>
+
+    <select id="selectSysNewsInfo" resultType="com.xzx.gc.system.vo.ApiNewsInfoVo">
+        select * from xzx_sys_news
+        where news_id = #{record.id}
+        order by sort ASC
+    </select>
+
+
+
+    <select id="selectSysPopupInfo" resultType="com.xzx.gc.system.vo.ApiSysPopupVo">
+        select * from xzx_sys_popup
+        where end_time &gt;= #{format}
+           and  start_time &lt;= #{format}
+            and state = 1
+    </select>
+
 
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.1