ANDRU-PC\Andru
2023-07-04 2875be234bb2631071c09ab0852f5fb28af0e9ee
提交 | 用户 | age
bb3b55 1 package com.hz.his.feign.service.platform.bi;
F 2
3 import com.hx.resultTool.Result;
4 import com.hz.his.dto.report.CoreProjectReportDto;
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-core-project")
15 public interface BiCoreProjectService {
16
17     /**
18      * 根据核心项目类型查询门店完成情况
19      */
20     @PostMapping("/admin/export/core/project/shop/list")
21     Result shopList(@RequestBody CoreProjectReportDto coreProjectReportDto);
22
23     /**
24      * 根据核心项目类型查询咨询师完成情况
25      */
26     @PostMapping("/admin/export/core/project/employee/list")
27     Result employeeList(@RequestBody CoreProjectReportDto coreProjectReportDto);
28
29     /**
30      * 根据核心项目类型查询医生完成情况
31      */
32     @PostMapping("/admin/export/core/project/doctor/list")
33     Result doctorList(@RequestBody CoreProjectReportDto coreProjectReportDto);
34
35     /**
36      * 总比率
37      */
38     @PostMapping("/admin/export/core/project/data/rate")
39     Result dataAll(@RequestBody CoreProjectReportDto coreProjectReportDto);
40
41
42 }