From 915f1e9378fb1486ef15163010168e6f83951c6f Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Thu, 06 Aug 2020 18:04:10 +0800 Subject: [PATCH] Merge branch 'follow' of https://gitee.com/chonggaoxiao/new_excoin into follow --- src/main/resources/mapper/documentary/FollowFollowerProfitDao.xml | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/documentary/FollowFollowerProfitDao.xml b/src/main/resources/mapper/documentary/FollowFollowerProfitDao.xml index 4ad0d24..4bc3f36 100644 --- a/src/main/resources/mapper/documentary/FollowFollowerProfitDao.xml +++ b/src/main/resources/mapper/documentary/FollowFollowerProfitDao.xml @@ -84,4 +84,10 @@ and trade_id = #{traderId} </select> + <update id="updateFollowerProfitByTradeMemberId"> + update follow_follower_profit + set total_principal=total_principal+#{principal}, + total_profit=total_profit+#{profit} + where trade_member_id=#{tradeMemberId} and member_id=#{memberId} + </update> </mapper> \ No newline at end of file -- Gitblit v1.9.1