package com.muchinfo.mtp3interface.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.muchinfo.mtp3pojos.entity.ReckonDaydividecount;
import com.muchinfo.mtp3pojos.vo.settlement.*;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 机构分润日统计表(按机构+角色统计，交易所划款) - 账户生成
外部账户不划转，只出报表 - 按币种汇总 Mapper 接口
 * </p>
 *
 * @author XKF
 * @since 2024-08-02
 */
@Mapper
public interface IReckonDaydividecountMapper extends BaseMapper<ReckonDaydividecount> {

    IPage<SecondProfitSharResult> queryShareDayList(IPage<SecondProfitSharResult> page, @Param("areauserid") Long areauserid, @Param("areatype")Integer areatype, @Param("tradedate")String tradedate);

    List<SecondProfitSharResult> queryShareDayList(@Param("areauserid") Long areauserid, @Param("areatype")Integer areatype, @Param("tradedate")String tradedate);

    IPage<SecondProfitSharDetailResult> queryOrgShareDayList(IPage<SecondProfitSharDetailResult> page,@Param("vo") SecondProfitSharDetailParam param);

    IPage<PositionTransferQueryResult> queryPositionTransfer(IPage<PositionTransferQueryResult> page, @Param("vo")PositionTransferQueryParam param);

    List<PositionTransferQueryResult> queryPositionTransfer( @Param("vo")PositionTransferQueryParam param);
}
