package com.crm.manager.service.ib;

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.ib.balance.AgentBalanceCommissionTransferDto;
import com.crm.rely.backend.core.dto.ib.balance.AgentBalanceTransferDto;
import com.crm.rely.backend.core.entity.base.SingleLongEntity;
import com.crm.rely.backend.core.entity.ib.balance.AgentBalanceCommissionTransferListEntity;
import com.crm.rely.backend.core.entity.ib.balance.AgentBalanceTransferApproveEntity;
import com.crm.rely.backend.core.entity.ib.balance.AgentBalanceTransferListEntity;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.List;

/**
 * Created by max on 2020/8/4.
 */
@FeignClient(name = "IB-SERVICE",path = "/agent/balance/commission/manager")
public interface AgentBalanceCommissionTransferService {

    @PostMapping("/search/list")
    BaseResultWithPagerDto<List<AgentBalanceCommissionTransferDto>> searchList(AgentBalanceCommissionTransferListEntity entity) throws Exception;

    @PostMapping("/search/export")
    BaseResultDto<List<AgentBalanceCommissionTransferDto>> export(AgentBalanceCommissionTransferListEntity entity) throws Exception;
}
