提交 | 用户 | age
|
7418f9
|
1 |
package com.hz.his.feign.service.platform.bi; |
F |
2 |
|
|
3 |
import com.hx.resultTool.Result; |
|
4 |
import com.hz.his.dto.report.AppointmentVisitVo; |
|
5 |
import com.hz.his.dto.report.ConsultantCashReportDto; |
|
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 |
/** |
|
12 |
* 预约报表 |
|
13 |
* 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀 |
|
14 |
*/ |
|
15 |
@FeignClient(name = "phiskin-bi-view-user", path = "/bi-view", contextId = "bi-app-report") |
|
16 |
public interface BiAppReportService { |
|
17 |
|
|
18 |
/** |
|
19 |
* 客人到店准时分析报表 |
|
20 |
*/ |
|
21 |
@PostMapping("/report/appointment/store/analysis") |
|
22 |
Result storeAnalysis(@RequestBody AppointmentVisitVo appointmentVisitVo); |
|
23 |
|
|
24 |
/** |
|
25 |
* 门店取消概况 |
|
26 |
*/ |
|
27 |
@PostMapping("/report/appointment/shop/cancel") |
|
28 |
Result shopCancel(@RequestBody AppointmentVisitVo appointmentVisitVo); |
|
29 |
|
|
30 |
/** |
|
31 |
* 会员各等级取消概况 |
|
32 |
*/ |
|
33 |
@PostMapping("/report/appointment/userLevel/cancel") |
|
34 |
Result userLevelCancel(@RequestBody AppointmentVisitVo appointmentVisitVo); |
|
35 |
|
|
36 |
/** |
|
37 |
* 咨询师取消率 |
|
38 |
*/ |
|
39 |
@PostMapping("/report/appointment/consultant/cancel") |
|
40 |
Result consultantCancel(@RequestBody AppointmentVisitVo appointmentVisitVo); |
|
41 |
|
|
42 |
/** |
|
43 |
* 门店迟到15分钟以上情况 |
|
44 |
*/ |
|
45 |
@PostMapping("/report/appointment/shop/timediff") |
|
46 |
Result shopTimediff(@RequestBody AppointmentVisitVo appointmentVisitVo); |
|
47 |
|
|
48 |
/** |
|
49 |
* 各等级迟到15分钟以上人数 |
|
50 |
*/ |
|
51 |
@PostMapping("/report/appointment/userLevel/timediff") |
|
52 |
Result userLevelTimediff(@RequestBody AppointmentVisitVo appointmentVisitVo); |
|
53 |
|
|
54 |
/** |
|
55 |
* 咨询师迟到率 |
|
56 |
*/ |
|
57 |
@PostMapping("/report/appointment/consultant/timediff") |
|
58 |
Result consultantTimediff(@RequestBody AppointmentVisitVo appointmentVisitVo); |
|
59 |
|
|
60 |
/** |
|
61 |
* 门店迟到时间分布 |
|
62 |
*/ |
|
63 |
@PostMapping("/report/appointment/shop/late") |
|
64 |
Result shopLate(@RequestBody AppointmentVisitVo appointmentVisitVo); |
|
65 |
|
|
66 |
/** |
|
67 |
* 咨询师当日新增预约概况 |
|
68 |
*/ |
|
69 |
@PostMapping("/report/appointment/consultant/add") |
|
70 |
Result consultantAdd(@RequestBody AppointmentVisitVo appointmentVisitVo); |
|
71 |
|
|
72 |
|
|
73 |
/** |
|
74 |
* 咨询师临时改项&增项概况 |
|
75 |
*/ |
|
76 |
@PostMapping("/report/appointment/update/project") |
|
77 |
Result updateProject(@RequestBody AppointmentVisitVo appointmentVisitVo); |
|
78 |
|
|
79 |
/** |
|
80 |
* 门店升级VIP(含当日准会员升级) |
|
81 |
*/ |
|
82 |
@PostMapping("/report/appointment/level/upgrade") |
|
83 |
Result levelUpgrade(@RequestBody AppointmentVisitVo appointmentVisitVo); |
|
84 |
|
|
85 |
/** |
|
86 |
* 升级VIP(含当日准会员升级) |
|
87 |
*/ |
|
88 |
@PostMapping("/report/appointment/up/level") |
|
89 |
Result upLevel(@RequestBody AppointmentVisitVo appointmentVisitVo); |
|
90 |
|
|
91 |
/** |
|
92 |
* 初诊公众号绑定概况 |
|
93 |
*/ |
|
94 |
@PostMapping("/report/appointment/gzh/binding") |
|
95 |
Result gzhBinding(@RequestBody AppointmentVisitVo appointmentVisitVo); |
|
96 |
|
|
97 |
|
|
98 |
} |