Helius
2021-07-23 71bf751d248aff415c95b2bc09dc1bb0219c9428
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,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>