From e0046ec2c7c5e2d557143508bf7999324613fc5d Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Tue, 01 Mar 2022 16:59:24 +0800 Subject: [PATCH] Merge branch 'bea' of http://120.27.238.55:7000/r/exchange into bea --- src/main/resources/mapper/walletCoinOrder/ZhiYaDao.xml | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/walletCoinOrder/ZhiYaDao.xml b/src/main/resources/mapper/walletCoinOrder/ZhiYaDao.xml index 8cca638..890157a 100644 --- a/src/main/resources/mapper/walletCoinOrder/ZhiYaDao.xml +++ b/src/main/resources/mapper/walletCoinOrder/ZhiYaDao.xml @@ -6,4 +6,8 @@ SELECT * FROM zhi_ya a where a.member_id= #{memberId} </select> + <select id="selectSumRewardByMemberIdAndRecordIdAndType" resultType="long"> + SELECT ifnull(sum(a.reward_amout),0) FROM zhiya_reward a where a.member_id= #{memberId} and a.type= #{type} and a.record_id= #{recordId} + </select> + </mapper> -- Gitblit v1.9.1