From 74d3712317f0596e5d424a00239c7c3742db78a5 Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Tue, 04 Aug 2020 16:16:00 +0800 Subject: [PATCH] Merge branch 'follow' of https://gitee.com/chonggaoxiao/new_excoin into follow --- src/main/java/com/xcong/excoin/modules/documentary/dao/FollowFollowerOrderRelationDao.java | 15 ++++++++++++++- 1 files changed, 14 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..f81546d 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,20 @@ 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.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); } -- Gitblit v1.9.1