package com.zhongshu.card.client.service.feign;

import com.github.microservice.net.ResultContent;
import com.zhongshu.card.client.model.org.*;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;


@FeignClient(name = "fullcardserver/expenseFlowFeign/manager")
public interface ExpenseFlowFeignService {

    @Operation(summary = "查询订单信息", description = "查询订单信息")
    @RequestMapping(value = "getDetailByPaymentNo", method = RequestMethod.GET)
    ResultContent<OrganizationSimpleModel> getDetailByPaymentNo(
            @Parameter(name = "paymentNo", description = "paymentNo", required = true)
            @RequestParam(name = "paymentNo") String paymentNo);

}
