From 00a8e2f76d02cfc17ca9ff156aa97f85bae5897d Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Mon, 09 Aug 2021 16:50:55 +0800
Subject: [PATCH] Merge branch 'score-shop' of http://120.27.238.55:7000/r/xzx into score-shop

---
 gc-sys/src/main/resources/mapper/system/SysNewsMapper.xml |   12 ++++++++++++
 1 files changed, 12 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 b72ea15..513345e 100644
--- a/gc-sys/src/main/resources/mapper/system/SysNewsMapper.xml
+++ b/gc-sys/src/main/resources/mapper/system/SysNewsMapper.xml
@@ -35,5 +35,17 @@
         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>
+
 
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.1