| | |
| | | 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 >= #{format} |
| | | and start_time <= #{format} |
| | | and state = 1 |
| | | </select> |
| | | |
| | | |
| | | </mapper> |