From bf144316f5bbd9bd442123ab8d8e5be4f9e42602 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Tue, 07 Dec 2021 15:59:27 +0800
Subject: [PATCH] 20211207  fish

---
 src/main/resources/mapper/fish/CannonSettingDao.xml |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mapper/fish/CannonSettingDao.xml b/src/main/resources/mapper/fish/CannonSettingDao.xml
index c32369d..613a79a 100644
--- a/src/main/resources/mapper/fish/CannonSettingDao.xml
+++ b/src/main/resources/mapper/fish/CannonSettingDao.xml
@@ -7,7 +7,17 @@
     </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>
 
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.1