package com.crm.manager.service;

import com.crm.rely.backend.core.dto.base.BaseResultDto;
import com.crm.rely.backend.core.dto.base.BaseResultWithPagerDto;
import com.crm.rely.backend.core.dto.sales.SalesDpsBasicSalaryDto;
import com.crm.rely.backend.core.entity.sales.SalesDpsBasicSalaryListEntity;
import com.crm.rely.backend.exception.ServiceException;

import java.util.List;

public interface SalesDpsBasicSalaryService {

    BaseResultDto<SalesDpsBasicSalaryDto> searchSingleById(Long id) throws ServiceException;

    BaseResultWithPagerDto<List<SalesDpsBasicSalaryDto>> searchList(SalesDpsBasicSalaryListEntity entity) throws ServiceException;

}
