package com.crm.manager.service;

import com.crm.manager.dto.export.TwCooperateExportDto;
import com.crm.rely.backend.core.dto.base.BaseReportResultDto;
import com.crm.rely.backend.core.dto.cooperate.tw.TwCooperateDto;
import com.crm.rely.backend.core.dto.cooperate.tw.TwCooperateSumDto;
import com.crm.rely.backend.core.entity.cooperate.tw.TwCooperateListEntity;
import com.crm.rely.backend.core.entity.cooperate.tw.TwCooperateUpdateEntity;
import com.crm.rely.backend.exception.ServiceException;

import java.util.List;

public interface TwCooperateDailyService {

    BaseReportResultDto<List<TwCooperateDto>, TwCooperateSumDto> twSearchList(TwCooperateListEntity entity) throws ServiceException;

    TwCooperateDto twSearchSingle(Long id) throws ServiceException;

    void updateById(TwCooperateUpdateEntity entity) throws ServiceException;

    List<TwCooperateExportDto> getExportDto(TwCooperateListEntity entity) throws ServiceException;

}
