提交 | 用户 | age
|
b492f3
|
1 |
package com.hz.his.feign.service.platform.bi; |
F |
2 |
|
|
3 |
import com.hx.resultTool.Result; |
|
4 |
import com.hz.his.dto.report.EmployeeReportDto; |
|
5 |
import com.hz.his.dto.report.UserReleaseDto; |
|
6 |
import org.springframework.cloud.openfeign.FeignClient; |
|
7 |
import org.springframework.web.bind.annotation.PostMapping; |
|
8 |
import org.springframework.web.bind.annotation.RequestBody; |
|
9 |
|
|
10 |
|
|
11 |
/** |
bb3b55
|
12 |
* 咨询师日报 |
b492f3
|
13 |
* 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀 |
F |
14 |
*/ |
|
15 |
@FeignClient(name="phiskin-bi-view-user",path = "/bi-view",contextId = "bi-consultant-day") |
|
16 |
public interface BiConsultantDayService { |
|
17 |
|
|
18 |
/** |
|
19 |
* 咨询师-各业绩指标数据 |
222522
|
20 |
* EmployeeAchievementVo |
b492f3
|
21 |
*/ |
F |
22 |
@PostMapping("/admin/export/employee/indicators/list") |
|
23 |
Result indicators(@RequestBody EmployeeReportDto employeeReportDto); |
|
24 |
|
|
25 |
/** |
|
26 |
* 咨询师-初诊情况 |
222522
|
27 |
* EmployeeFirstTreatVo |
b492f3
|
28 |
*/ |
F |
29 |
@PostMapping("/admin/export/employee/first/treat/list") |
|
30 |
Result firstTreat(@RequestBody EmployeeReportDto employeeReportDto); |
|
31 |
|
|
32 |
|
|
33 |
/** |
|
34 |
* 咨询师-到访未成交名单 |
222522
|
35 |
* |
b492f3
|
36 |
*/ |
F |
37 |
@PostMapping("/admin/export/employee/first/treat/user/list") |
|
38 |
Result firstTreatUser(@RequestBody EmployeeReportDto employeeReportDto); |
|
39 |
|
|
40 |
|
|
41 |
/** |
|
42 |
* 咨询师-核心项目指标数据 |
|
43 |
*/ |
|
44 |
@PostMapping("/admin/export/employee/core/project/list") |
|
45 |
Result coreProject(@RequestBody EmployeeReportDto employeeReportDto); |
|
46 |
|
|
47 |
|
|
48 |
/** |
|
49 |
* 咨询师-公海释放名单 |
|
50 |
*/ |
|
51 |
@PostMapping("/admin/export/employee/user/release/list") |
|
52 |
Result userReleaseList(@RequestBody UserReleaseDto userReleaseDto); |
|
53 |
|
|
54 |
/** |
|
55 |
* 咨询师-流失客户列表 |
|
56 |
*/ |
|
57 |
@PostMapping("/admin/export/employee/user/lose/list") |
|
58 |
Result userLoseList(@RequestBody UserReleaseDto userReleaseDto); |
|
59 |
|
|
60 |
|
|
61 |
/** |
|
62 |
* 咨询师-沉睡客户列表 |
|
63 |
*/ |
|
64 |
@PostMapping("/admin/export/employee/user/sleep/list") |
|
65 |
Result userSleepList(@RequestBody UserReleaseDto userReleaseDto); |
|
66 |
|
|
67 |
/** |
|
68 |
* 咨询师-沉睡客户比例 |
|
69 |
*/ |
|
70 |
@PostMapping("/admin/export/employee/user/sleep/proportion") |
|
71 |
Result userSleepProportion(@RequestBody UserReleaseDto userReleaseDto); |
|
72 |
|
|
73 |
/** |
|
74 |
* 咨询师-会员等级分布列表 |
|
75 |
*/ |
|
76 |
@PostMapping("/admin/export/employee/user/member/distribution") |
|
77 |
Result memberDistribution(@RequestBody UserReleaseDto userReleaseDto); |
|
78 |
|
|
79 |
/** |
|
80 |
* 咨询师-会员等级分比例 |
|
81 |
*/ |
|
82 |
@PostMapping("/admin/export/employee/user/member/distribution/proportion") |
|
83 |
Result memberDistributionProportion(@RequestBody UserReleaseDto userReleaseDto); |
|
84 |
|
aa2346
|
85 |
/** |
F |
86 |
* 咨询师-老带新业绩 |
|
87 |
* 返回接口Result.success(data); data是个map,key为员工标识,value是金额 |
|
88 |
*/ |
|
89 |
@PostMapping("/admin/export/employee/oldNew/report") |
|
90 |
Result oldNewReport(@RequestBody EmployeeReportDto employeeReportDto); |
|
91 |
|
b492f3
|
92 |
} |