fwq
2023-08-21 d2d3590921e90dba66640905b4384045e855a454
提交 | 用户 | age
7418f9 1 package com.hz.his.feign.service.platform.bi;
F 2
3 import com.hx.resultTool.Result;
bb3b55 4 import com.hz.his.dto.report.PerformanceReqParamsDto;
7418f9 5 import org.springframework.cloud.openfeign.FeignClient;
F 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-perf")
15 public interface BiConsultantPerfService {
16
17     /**
18      * 咨询师执行业绩
19      */
bb3b55 20     @PostMapping("/admin/consultant/perf/list")
F 21     Result list(@RequestBody PerformanceReqParamsDto performanceReqParamsDto);
7418f9 22
F 23     /**
bb3b55 24      * 咨询师执行业绩汇总
7418f9 25      */
bb3b55 26     @PostMapping("/admin/consultant/perf/summary/list")
F 27     Result summaryList(@RequestBody PerformanceReqParamsDto performanceReqParamsDto);
7418f9 28
F 29
d4b90b 30     /**
F 31      * 咨询师业绩导出
32      */
33     @PostMapping("/admin/consultant/perf/export")
34     Result export(@RequestBody PerformanceReqParamsDto performanceReqParamsDto);
35
36     /**
37      * 咨询师业绩汇总导出
38      */
39     @PostMapping("/admin/consultant/perf/summary/export")
40     Result sumExport(@RequestBody PerformanceReqParamsDto performanceReqParamsDto);
7418f9 41
F 42
43 }