package com.crm.manager.service.finance;

import com.crm.rely.backend.core.dto.base.BaseResultDto;
import com.crm.rely.backend.core.dto.finance.transfer.risk.remind.FinanceTransferRiskRemindSearchDto;
import com.crm.rely.backend.core.entity.base.SingleLongEntity;
import com.crm.rely.backend.core.entity.finance.transfer.risk.remind.FinanceTransferRiskRemindApproveEntity;
import com.crm.rely.backend.core.entity.finance.transfer.risk.remind.FinanceTransferRiskRemindDeleteEntity;
import com.crm.rely.backend.core.entity.finance.transfer.risk.remind.FinanceTransferRiskRemindSearchEntity;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(name = "PAY-SERVICE", path = "/transfer/risk/remind/manager")
public interface FinanceTransferRiskRemindFeignService {

    @PostMapping("/approve")
    BaseResultDto approve(FinanceTransferRiskRemindApproveEntity entity) throws Exception;

    @PostMapping("/delete")
    BaseResultDto delete(FinanceTransferRiskRemindDeleteEntity entity) throws Exception;

    @PostMapping("/search/list")
    BaseResultDto searchPageList(FinanceTransferRiskRemindSearchEntity entity) throws Exception;

    @PostMapping("/search/list")
    BaseResultDto searchList(FinanceTransferRiskRemindSearchEntity entity) throws Exception;

    @PostMapping("/search/single")
    BaseResultDto<FinanceTransferRiskRemindSearchDto> searchSingle(SingleLongEntity entity) throws Exception;


}
