提交 | 用户 | age
|
fcb7aa
|
1 |
package com.hz.his.feign.service.platform.bi; |
C |
2 |
|
|
3 |
import com.hx.resultTool.Result; |
|
4 |
import com.hz.his.vo.bi.revenue.RevenueQuery; |
|
5 |
import org.springframework.cloud.openfeign.FeignClient; |
|
6 |
import org.springframework.web.bind.annotation.PostMapping; |
|
7 |
import org.springframework.web.bind.annotation.RequestBody; |
|
8 |
|
|
9 |
|
|
10 |
/** |
|
11 |
* 收入确认表 |
|
12 |
* 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀 |
|
13 |
*/ |
|
14 |
@FeignClient(name = "phiskin-bi-view-user", path = "/bi-view", contextId = "bi-revenue") |
|
15 |
public interface BiRevenueRecognitionService { |
|
16 |
|
|
17 |
/** |
|
18 |
* 获取列表 |
|
19 |
*/ |
|
20 |
@PostMapping("/revenue/recogntion/list") |
|
21 |
Result list(@RequestBody RevenueQuery revenueQuery); |
|
22 |
|
|
23 |
/** |
|
24 |
* 导出excel |
|
25 |
*/ |
|
26 |
@PostMapping("/export/excel") |
|
27 |
Result exportExcel(@RequestBody RevenueQuery revenueQuery); |
|
28 |
|
|
29 |
|
|
30 |
} |