fwq
2023-09-26 a51bf836f1e6f792d9978f2d6b2843205df65281
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
package com.hz.his.feign.service.platform.bi;
 
import com.hx.resultTool.Result;
import com.hz.his.dto.report.CoreProjectReportDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
 
 
/**
 * 核心项目周报
 * 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀
 */
@FeignClient(name = "phiskin-bi-view-user", path = "/bi-view", contextId = "bi-core-project")
public interface BiCoreProjectService {
 
    /**
     * 根据核心项目类型查询门店完成情况
     */
    @PostMapping("/admin/export/core/project/shop/list")
    Result shopList(@RequestBody CoreProjectReportDto coreProjectReportDto);
 
    /**
     * 根据核心项目类型查询咨询师完成情况
     */
    @PostMapping("/admin/export/core/project/employee/list")
    Result employeeList(@RequestBody CoreProjectReportDto coreProjectReportDto);
 
    /**
     * 根据核心项目类型查询医生完成情况
     */
    @PostMapping("/admin/export/core/project/doctor/list")
    Result doctorList(@RequestBody CoreProjectReportDto coreProjectReportDto);
 
    /**
     * 总比率
     */
    @PostMapping("/admin/export/core/project/data/rate")
    Result dataAll(@RequestBody CoreProjectReportDto coreProjectReportDto);
 
 
}