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 extends BaseMapper { Integer selectFollowerHoldingSymbolCnt(@Param("tradeMemberId") Long tradeMemberId, @Param("memberId") Long memberId); FollowFollowerOrderRelationEntity selectHistoryOneByorderId(@Param("orderId")Long orderId); FollowFollowerOrderRelationEntity selectNowOneByorderId(@Param("orderId")Long orderId); List selectFollowHoldOrderByTradeOrderNo(@Param("orderNo") String orderNo); BigDecimal selectTraderTotalProfit(@Param("memberId") Long memberId); }