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.SalesDwCommissionDto;
import com.crm.rely.backend.core.dto.sales.SalesDwCommissionSumDto;
import com.crm.rely.backend.core.entity.sales.SalesDwCommissionListEntity;
import com.crm.rely.backend.exception.ServiceException;

import java.util.List;

public interface SalesDwCommissionService {

    BaseReportResultDto<List<SalesDwCommissionDto>, SalesDwCommissionSumDto> dwCommissionList(SalesDwCommissionListEntity entity) throws ServiceException;

    List<SalesDwCommissionDto> dwCommissionExportList(SalesDwCommissionListEntity entity) throws ServiceException;

}
