package com.cf.imes.module.executor.api.funds;


import com.cf.imes.framework.common.pojo.CommonResult;
import com.cf.imes.module.executor.enums.ApiConstants;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.math.BigDecimal;

/**
 * @author 资金管理feign接口
 */
@FeignClient(name = ApiConstants.NAME) // TODO 晨丰：fallbackFactory =
@Tag(name = "RPC 服务 - 资金管理")
public interface ExecutorFundsApi {

    String PREFIX = ApiConstants.PREFIX + "/funds";



    @GetMapping(PREFIX +"/getInvoiceAmount")
    @Operation(summary = "查询待审核的发票金额")
    CommonResult<BigDecimal> getToExamineAmount();


}
