Commit e51f75ca authored by wangqiang's avatar wangqiang

增加ExtSpendingContracserviceFeign类的fegin接口

parent 65a9b1aa
......@@ -71,6 +71,7 @@ public interface ExtPlanServiceFeign<V extends ExtPlanVO> extends ExtPlanService
@GetMapping(value = "/exportPlan")
void exportPlan(HttpServletResponse response, @RequestParam("ids") List<Long> ids);
@ApiOperation(value = "通过文件分类查询", notes = "通过文件分类查询", httpMethod = "post")
@GetMapping(value = "/searchFileType")
void searchFileType(@RequestParam("fileType")String fileType, DxDocumentVO doc);
......
package com.yonde.dcs.plan.feign;
import com.yonde.dcs.plan.common.vo.ExtSpendingContractVO;
import com.yonde.dex.basedata.entity.api.ApiResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;
import com.yonde.dcs.plan.feign.shadow.ExtSpendingContractServiceFeignShadow;
......@@ -16,4 +18,8 @@ import com.yonde.dcs.plan.feign.shadow.ExtSpendingContractServiceFeignShadow;
@FeignClient(value = "${dcs.feign.INET-PLAN}", path = "/ExtSpendingContract")
public interface ExtSpendingContractServiceFeign<V extends ExtSpendingContractVO> extends ExtSpendingContractServiceFeignShadow<V> {
@ApiOperation(value = "支出合同金额计算", notes = "支出合同金额计算", httpMethod = "GET")
@GetMapping("/calculateSpending/{id}")
ExtSpendingContractVO calculateSpending(@PathVariable Long id);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment