package com.crm.ib.task.service.report;

import com.crm.rely.backend.core.dto.base.BaseReportResultDto;
import com.crm.rely.backend.core.dto.base.BaseResultDto;
import com.crm.rely.backend.model.dto.report.SalesCommissionReportListDto;
import com.crm.rely.backend.model.dto.report.SalesCommissionReportSumDto;
import com.crm.rely.backend.model.dto.report.VolumeReportListDto;
import com.crm.rely.backend.model.dto.report.VolumeReportSumDto;
import com.crm.rely.backend.model.entity.report.VolumeReportEntity;

import java.util.List;

/**
 * 交易量报表
 *
 * @author y
 * @create 2022/5/5
 */
public interface VolumeReportService {

    BaseReportResultDto<List<VolumeReportListDto>, VolumeReportSumDto> pageList(VolumeReportEntity entity) throws Exception;

    BaseResultDto<List<VolumeReportListDto>> exportList(VolumeReportEntity entity) throws Exception;

    BaseReportResultDto<List<SalesCommissionReportListDto>, SalesCommissionReportSumDto> pageSalesVolumeList(VolumeReportEntity entity) throws Exception;

    BaseResultDto<List<SalesCommissionReportListDto>> exportSalesVolumeList(VolumeReportEntity entity) throws Exception;

}
