package com.crm.manager.service;

import com.crm.rely.backend.core.dto.base.ResultWithPagerDto;
import com.crm.rely.backend.core.dto.sales.SalesRewardRobotListDto;
import com.crm.rely.backend.core.entity.base.SingleLongEntity;
import com.crm.rely.backend.core.entity.sales.SalesRewardRobotAddEntity;
import com.crm.rely.backend.core.entity.sales.SalesRewardRobotDeleteEntitys;
import com.crm.rely.backend.core.entity.sales.SalesRewardRobotSearchEntity;
import com.crm.rely.backend.core.entity.sales.SalesRewardRobotUpdateEntity;
import com.crm.rely.backend.exception.ServiceException;

public interface SalesRewardRobotService {

    void add(SalesRewardRobotAddEntity entity) throws ServiceException;

    void delete(SalesRewardRobotDeleteEntitys entitys) throws ServiceException;

    void update(SalesRewardRobotUpdateEntity entity) throws ServiceException;

    ResultWithPagerDto<SalesRewardRobotListDto> searchPageList(SalesRewardRobotSearchEntity entity) throws ServiceException;

    SalesRewardRobotListDto searchSingle(SingleLongEntity entity) throws ServiceException;

}
