package com.crm.manager.service;

import com.crm.rely.backend.core.dto.base.BaseReportResultDto;
import com.crm.rely.backend.core.dto.base.BaseResultWithPagerDto;
import com.crm.rely.backend.core.dto.sales.SalesVolumeCommissionDto;
import com.crm.rely.backend.core.dto.sales.SalesVolumeCommissionSumDto;
import com.crm.rely.backend.core.entity.sales.SalesVolumeCommissionListEntity;
import com.crm.rely.backend.exception.ServiceException;

import java.util.List;

public interface SalesVolumeCommissionService {

    BaseReportResultDto<List<SalesVolumeCommissionDto>, SalesVolumeCommissionSumDto> findSalesVolumeCommission(SalesVolumeCommissionListEntity entity) throws ServiceException;

    List<SalesVolumeCommissionDto> findSalesVolumeExportCommission(SalesVolumeCommissionListEntity entity) throws ServiceException;

}
