From 3ab36f7a00f20df213117b4dce69089360b9df23 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Tue, 30 Mar 2021 11:29:14 +0800 Subject: [PATCH] 20210329 跟新跟随者收益放到定时器里面了,去掉了平仓和爆仓里面的更新了 --- src/main/java/com/xcong/excoin/modules/documentary/dao/FollowFollowerOrderRelationDao.java | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/xcong/excoin/modules/documentary/dao/FollowFollowerOrderRelationDao.java b/src/main/java/com/xcong/excoin/modules/documentary/dao/FollowFollowerOrderRelationDao.java index f81546d..cbbc8ac 100644 --- a/src/main/java/com/xcong/excoin/modules/documentary/dao/FollowFollowerOrderRelationDao.java +++ b/src/main/java/com/xcong/excoin/modules/documentary/dao/FollowFollowerOrderRelationDao.java @@ -4,6 +4,7 @@ import com.xcong.excoin.modules.documentary.entity.FollowFollowerOrderRelationEntity; import org.apache.ibatis.annotations.Param; +import java.math.BigDecimal; import java.util.List; /** @@ -17,4 +18,7 @@ FollowFollowerOrderRelationEntity selectNowOneByorderId(@Param("orderId")Long orderId); List<FollowFollowerOrderRelationEntity> selectFollowHoldOrderByTradeOrderNo(@Param("orderNo") String orderNo); + + BigDecimal selectTraderTotalProfit(@Param("memberId") Long memberId); + BigDecimal selectTraderTotalProfitSelf(@Param("memberId") Long memberId); } -- Gitblit v1.9.1