xiaoyong931011
2021-03-05 09de95ab5415f1511191f4e68c3bd74e4ab7f09d
src/main/java/com/xcong/excoin/modules/documentary/dao/FollowFollowerOrderRelationDao.java
@@ -2,15 +2,22 @@
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xcong.excoin.modules.documentary.entity.FollowFollowerOrderRelationEntity;
import org.apache.ibatis.annotations.Param;
import io.lettuce.core.dynamic.annotation.Param;
import java.math.BigDecimal;
import java.util.List;
/**
 * @author helius
 */
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);
}