From 78264c6d9146627b0fc1ba31354e1d9853587afe Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Fri, 23 Jul 2021 10:35:06 +0800 Subject: [PATCH] 202107023 --- gc-sys/src/main/resources/mapper/system/SysNewsMapper.xml | 6 ++++++ 1 files changed, 6 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..89955fe 100644 --- a/gc-sys/src/main/resources/mapper/system/SysNewsMapper.xml +++ b/gc-sys/src/main/resources/mapper/system/SysNewsMapper.xml @@ -35,5 +35,11 @@ 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> + </mapper> \ No newline at end of file -- Gitblit v1.9.1