package com.crm.manager.service;

import com.crm.rely.backend.core.dto.base.ResultWithPagerDto;
import com.crm.rely.backend.core.dto.custom.allocation.roster.CustomAllocationRosterCsvDto;
import com.crm.rely.backend.core.dto.custom.allocation.roster.CustomAllocationRosterDto;
import com.crm.rely.backend.core.entity.custom.allocation.roster.CustomAllocationRosterClickByCountrysEntity;
import com.crm.rely.backend.core.entity.custom.allocation.roster.CustomAllocationRosterClickEntity;
import com.crm.rely.backend.core.entity.custom.allocation.roster.CustomAllocationRosterSearchEntity;
import com.crm.rely.backend.core.entity.custom.allocation.roster.CustomAllocationRosterUpdateEntity;
import com.crm.rely.backend.exception.ServiceException;

import java.util.List;


public interface CustomAllocationRosterService {

    ResultWithPagerDto<CustomAllocationRosterDto> selectPageList(CustomAllocationRosterSearchEntity
                                                                         searchPageList) throws ServiceException;

    List<CustomAllocationRosterCsvDto> selectCsvList(CustomAllocationRosterSearchEntity
                                                             searchPageList) throws ServiceException;

    int selectCount(CustomAllocationRosterSearchEntity search);

    void update(CustomAllocationRosterUpdateEntity entity) throws ServiceException;

    void clickAllocationRoster(CustomAllocationRosterClickEntity entity);


    void clickAllocationRosterByCountrys(CustomAllocationRosterClickByCountrysEntity entity);

    void updateFollowTagById(Long id) throws ServiceException;
}
