package com.crm.manager.service;

import com.crm.rely.backend.core.dto.custom.allocation.roster.record.CustomAllocationRosterRecordDto;
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.record.CustomAllocationRosterRecordSearchEntity;
import com.crm.rely.backend.core.pojo.table.CustomAllocationRosterTable;
import com.crm.rely.backend.exception.ServiceException;

import java.util.List;


public interface CustomAllocationRosterRecordService {

    void add(List<CustomAllocationRosterTable> tables) throws ServiceException;

    List<CustomAllocationRosterRecordDto> selectList(CustomAllocationRosterRecordSearchEntity
                                                             searchPageList) throws ServiceException;

    int selectCount(CustomAllocationRosterRecordSearchEntity searchCount);


    void clickAllocationRoster(CustomAllocationRosterClickEntity entity);

    void clickAllocationRosterByCountrys(CustomAllocationRosterClickByCountrysEntity entity);
}
