From 62f9111922c5a90063e9f4a14fc20cf42d1a56be Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Fri, 26 Nov 2021 10:20:22 +0800 Subject: [PATCH] 20211125 fish --- src/main/resources/mapper/fish/CannonOwnRecordDao.xml | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/src/main/resources/mapper/fish/CannonOwnRecordDao.xml b/src/main/resources/mapper/fish/CannonOwnRecordDao.xml index e79ff28..b461582 100644 --- a/src/main/resources/mapper/fish/CannonOwnRecordDao.xml +++ b/src/main/resources/mapper/fish/CannonOwnRecordDao.xml @@ -7,10 +7,14 @@ </select> <select id="selectCannonOwnRecordsByMemberId" resultType="com.xcong.excoin.modules.fish.vo.OwnCannonVo"> - select a.*,b.gold_consume goldConsume + select a.*,b.gold_consume goldConsume,b.cannon_img cannonImg,b.bullet_img bulletImg from cannon_own_record a left join cannon_setting b on a.cannon_code = b.code where a.member_id = #{memberId} </select> + <select id="selectCannonOwnRecordsByIdAndMemberId" resultType="com.xcong.excoin.modules.fish.entity.CannonOwnRecord"> + select a.* from cannon_own_record a where a.member_id = #{memberId} and a.id = #{id} + </select> + </mapper> \ No newline at end of file -- Gitblit v1.9.1