From fa91cc62d16b55c99d4cf6451ac6e2f1e0031dd5 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Sat, 15 May 2021 18:35:15 +0800 Subject: [PATCH] 20210515 云顶 --- src/main/java/com/xcong/excoin/modules/documentary/dao/FollowFollowerOrderRelationDao.java | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 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 e7448a9..988db4a 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 @@ -2,9 +2,10 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.xcong.excoin.modules.documentary.entity.FollowFollowerOrderRelationEntity; -import io.lettuce.core.dynamic.annotation.Param; +import org.apache.ibatis.annotations.Param; -import io.lettuce.core.dynamic.annotation.Param; +import java.math.BigDecimal; +import java.util.List; /** * @author helius @@ -15,4 +16,10 @@ FollowFollowerOrderRelationEntity selectHistoryOneByorderId(@Param("orderId")Long orderId); FollowFollowerOrderRelationEntity selectNowOneByorderId(@Param("orderId")Long orderId); + + List<FollowFollowerOrderRelationEntity> selectFollowHoldOrderByTradeOrderNo(@Param("orderNo") String orderNo); + List<FollowFollowerOrderRelationEntity> selectFollowOrderByTradeOrderNo(@Param("orderNo") String orderNo); + + BigDecimal selectTraderTotalProfit(@Param("memberId") Long memberId); + BigDecimal selectTraderTotalProfitSelf(@Param("memberId") Long memberId); } -- Gitblit v1.9.1