From 210706493b8f4c575150bf4bd317a0b0daed9ed9 Mon Sep 17 00:00:00 2001 From: wzy <wzy19931122ai@163.com> Date: Thu, 25 Mar 2021 20:57:18 +0800 Subject: [PATCH] modify --- src/main/java/com/xcong/excoin/modules/documentary/dao/FollowFollowerOrderRelationDao.java | 18 +++++++++++++++++- 1 files changed, 17 insertions(+), 1 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 3f2cf8f..d37f698 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 @@ -1,7 +1,23 @@ package com.xcong.excoin.modules.documentary.dao; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.xcong.excoin.modules.documentary.entity.FollowFollowerOrderRelationEntity; +import org.apache.ibatis.annotations.Param; + +import java.math.BigDecimal; +import java.util.List; + /** * @author helius */ -public interface FollowFollowerOrderRelationDao { +public interface FollowFollowerOrderRelationDao extends BaseMapper<FollowFollowerOrderRelationEntity> { + + Integer selectFollowerHoldingSymbolCnt(@Param("tradeMemberId") Long tradeMemberId, @Param("memberId") Long memberId); + FollowFollowerOrderRelationEntity selectHistoryOneByorderId(@Param("orderId")Long orderId); + + FollowFollowerOrderRelationEntity selectNowOneByorderId(@Param("orderId")Long orderId); + + List<FollowFollowerOrderRelationEntity> selectFollowHoldOrderByTradeOrderNo(@Param("orderNo") String orderNo); + + BigDecimal selectTraderTotalProfit(@Param("memberId") Long memberId); } -- Gitblit v1.9.1