package com.xcong.excoin.modules.documentary.dao;
|
|
import java.util.List;
|
|
import org.apache.ibatis.annotations.Param;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
import com.xcong.excoin.modules.contract.entity.ContractHoldOrderEntity;
|
import com.xcong.excoin.modules.contract.entity.ContractOrderEntity;
|
import com.xcong.excoin.modules.documentary.entity.FollowFollowerProfitEntity;
|
import com.xcong.excoin.modules.documentary.vo.FollowRecordsVo;
|
|
/**
|
* @author helius
|
*/
|
public interface FollowFollowerProfitDao extends BaseMapper<FollowFollowerProfitEntity> {
|
|
IPage<FollowRecordsVo> selectFollowRecords(Page<FollowRecordsVo> page,
|
@Param("tradeMemberId")Long tradeMemberId);
|
|
IPage<ContractOrderEntity> getMyFollowOrderHistoryRecords(Page<ContractOrderEntity> page,
|
@Param("memberId")Long memberId);
|
|
IPage<ContractHoldOrderEntity> getMyFollowOrderNowRecords(Page<ContractHoldOrderEntity> page,
|
@Param("memberId")Long memberId);
|
|
List<ContractHoldOrderEntity> getFollowOrderNowRecords(@Param("memberId")Long memberId);
|
|
IPage<FollowFollowerProfitEntity> selectFollowFollowerProfitEntitys(Page<FollowFollowerProfitEntity> page,
|
@Param("memberId")Long memberId);
|
|
FollowFollowerProfitEntity selectDocumentaryOrderSetInfoBymemberIdAndTradeId(@Param("memberId")Long memberId, @Param("traderId")Long traderId);
|
|
}
|