提交 | 用户 | age
|
36dccc
|
1 |
package com.hz.his.feign.service.platform.bi; |
F |
2 |
|
|
3 |
import com.hx.resultTool.Result; |
|
4 |
import com.hz.his.dto.report.ConsultantCashReportDto; |
|
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-consultant-cash") |
|
15 |
public interface BiConsultantCashService { |
|
16 |
|
|
17 |
/** |
|
18 |
* 新,通过sql查询 |
|
19 |
* |
|
20 |
* @param dto |
|
21 |
* @return |
|
22 |
*/ |
|
23 |
@PostMapping("/report/consultant/cash/list") |
|
24 |
Result newList(@RequestBody ConsultantCashReportDto dto); |
|
25 |
|
|
26 |
/** |
|
27 |
* 新,查看咨询师现金业绩汇总报表管理 |
|
28 |
* |
|
29 |
* @param dto |
|
30 |
* @return |
|
31 |
*/ |
|
32 |
@PostMapping("/report/consultant/cash/total/list") |
|
33 |
Result totalList(@RequestBody ConsultantCashReportDto dto); |
|
34 |
|
d0e8d8
|
35 |
/** 导出 - 咨询师现金业绩 */ |
F |
36 |
@PostMapping("/report/consultant/cash/export") |
|
37 |
Result export(@RequestBody ConsultantCashReportDto dto); |
36dccc
|
38 |
|
F |
39 |
} |