package com.crm.manager.service;

import com.crm.rely.backend.core.dto.base.BaseResultWithPagerDto;
import com.crm.rely.backend.core.dto.custom.report.CustomFollowUpListDto;
import com.crm.rely.backend.core.entity.base.BaseIbReportListEntity;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * 客户类报表
 */
@FeignClient(name = "IB-SERVICE", path = "/manage/service/custom/report")
public interface CustomReportFeignService {

    @PostMapping("/follow/up")
    BaseResultWithPagerDto<List<CustomFollowUpListDto>> followUp(@RequestBody BaseIbReportListEntity entity);

    @PostMapping("/follow/up/export")
    List<CustomFollowUpListDto> followUpExport(@RequestBody BaseIbReportListEntity entity);
}
