From f5e6133809c553cfd9fb28ee61019927c547c374 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Wed, 08 Dec 2021 15:58:33 +0800 Subject: [PATCH] 20211208 fish --- src/main/resources/mapper/fish/CannonSettingDao.xml | 17 ++++++++++++++++- 1 files changed, 16 insertions(+), 1 deletions(-) diff --git a/src/main/resources/mapper/fish/CannonSettingDao.xml b/src/main/resources/mapper/fish/CannonSettingDao.xml index c32369d..e53b952 100644 --- a/src/main/resources/mapper/fish/CannonSettingDao.xml +++ b/src/main/resources/mapper/fish/CannonSettingDao.xml @@ -7,7 +7,22 @@ </select> <select id="findCannonSettingInPage" resultType="com.xcong.excoin.modules.fish.vo.CannonSettingVo"> - select a.* from cannon_setting a order by id asc + select a.* from cannon_setting a order by a.id asc + </select> + + <select id="selectCannonSettingByCannonCode" resultType="com.xcong.excoin.modules.fish.entity.CannonSetting"> + select a.* from cannon_setting a where a.code = #{cannonCode} + </select> + + <select id="findCannonWinRecordInPage" resultType="com.xcong.excoin.modules.fish.vo.CannonWinRecordVo"> + select a.* from cannon_win_record a + where a.member_id = #{cannonWinRecord.memberId} + order by a.id asc + </select> + + <select id="findCannonWinRecordList" resultType="com.xcong.excoin.modules.fish.vo.CannonWinRecordVo"> + select a.* from cannon_win_record a + order by a.create_time desc limit 0,10 </select> </mapper> \ No newline at end of file -- Gitblit v1.9.1