From 74977dfb41d5b6602b99733c15034c4594b4caa1 Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Wed, 25 Aug 2021 16:05:33 +0800
Subject: [PATCH] fix
---
gc-sys/src/main/resources/mapper/system/BannerMapper.xml | 35 +++++++++++++++++++++++++++++++++++
1 files changed, 35 insertions(+), 0 deletions(-)
diff --git a/gc-sys/src/main/resources/mapper/system/BannerMapper.xml b/gc-sys/src/main/resources/mapper/system/BannerMapper.xml
index 4e7ff6f..f28d982 100644
--- a/gc-sys/src/main/resources/mapper/system/BannerMapper.xml
+++ b/gc-sys/src/main/resources/mapper/system/BannerMapper.xml
@@ -130,4 +130,39 @@
where del_flag = 0 and status = 2
order by sort ASC
</select>
+
+ <select id="selectSysPopup" resultType="com.xzx.gc.system.vo.SysPopupListVo">
+ select * from xzx_sys_popup
+ order by id desc
+ </select>
+
+
+ <select id="selectSysPopupById" resultType="com.xzx.gc.system.vo.SysPopupListVo">
+ select * from xzx_sys_popup where id = #{id}
+ </select>
+
+
+
+ <update id="updateSysPopupById" parameterType="java.util.Map">
+ update xzx_sys_popup
+ set area = #{area},
+ name = #{name},
+ aims = #{aims},
+ rules = #{rules},
+ is_out = #{isOut},
+ out_text = #{outText},
+ start_time = #{startTime},
+ end_time = #{endTime},
+ img = #{img}
+ where id = #{id}
+ </update>
+
+
+
+
+ <update id="updateSysPopupStatusById" parameterType="java.util.Map">
+ update xzx_sys_popup
+ set state = #{state}
+ where id = #{id}
+ </update>
</mapper>
\ No newline at end of file
--
Gitblit v1.9.1