ANDRU-PC\Andru
2023-07-03 263eb35250f6eebec93a4ca0c40adb0610e98de6
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);
 
 
}