| | |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | |
| | | |
| | | /** |
| | | * 咨询师销售快报报表 |
| | | * 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀 |
| | | */ |
| | | @FeignClient(name="phiskin-bi-view-user",path = "/bi-view",contextId = "bi-shop-day") |
| | | @FeignClient(name="phiskin-bi-view-user",path = "/bi-view",contextId = "bi-consultant-sale") |
| | | public interface BiConsultantSaleService { |
| | | |
| | | /** |
| | | * 咨询师-业绩总列表 |
| | | */ |
| | | @PostMapping("/admin/export/employee/deduction/total/list") |
| | | @PostMapping("/admin/consultant/report/deduction/total/list") |
| | | Result deductionList(@RequestBody(required = false) EmployeeReportDto employeeReportDto); |
| | | |
| | | /** |
| | | * 咨询师-执行业绩快报 |
| | | */ |
| | | @PostMapping("/admin/export/employee/deduction/detail/list") |
| | | @PostMapping("/admin/consultant/report/deduction/detail/list") |
| | | Result deductionDetailList(@RequestBody EmployeeReportDto employeeReportDto); |
| | | |
| | | |
| | | /** |
| | | * 咨询师-初诊简报 |
| | | */ |
| | | @PostMapping("/admin/export/employee/first/treat/list") |
| | | @PostMapping("/admin/consultant/report/first/treat/list") |
| | | Result firstTreatList(@RequestBody EmployeeReportDto employeeReportDto); |
| | | |
| | | /** |
| | | * 咨询师-预约到诊 |
| | | */ |
| | | @PostMapping("/admin/export/employee/appointment/arrive/list") |
| | | @PostMapping("/admin/consultant/report/appointment/arrive/list") |
| | | Result appointmentArriveList(@RequestBody EmployeeReportDto employeeReportDto); |
| | | |
| | | |
| | | /** |
| | | * 咨询师-老带新简报 |
| | | */ |
| | | @PostMapping("/admin/export/employee/old/new/list") |
| | | @PostMapping("/admin/consultant/report/old/new/list") |
| | | Result oldLeadNew(@RequestBody EmployeeReportDto employeeReportDto); |
| | | |
| | | /** |
| | | * 咨询师-会员变动数据 |
| | | */ |
| | | @PostMapping("/admin/export/employee/level/change/list") |
| | | @PostMapping("/admin/consultant/report/level/change/list") |
| | | Result levelChangeList(@RequestBody EmployeeReportDto employeeReportDto); |
| | | |
| | | /** |
| | | * 咨询师-季度活跃客户 |
| | | */ |
| | | @PostMapping("/admin/export/employee/active/user/list") |
| | | @PostMapping("/admin/consultant/report/active/user/list") |
| | | Result activeUserList(@RequestBody EmployeeReportDto employeeReportDto); |
| | | |
| | | /** |
| | | * 咨询师-流失客户 |
| | | */ |
| | | @PostMapping("/admin/export/employee/loss/user/list") |
| | | @PostMapping("/admin/consultant/report/loss/user/list") |
| | | Result lossUserList(@RequestBody EmployeeReportDto employeeReportDto); |
| | | |
| | | /** |
| | | * 咨询师-流失客户分子预览 |
| | | */ |
| | | @PostMapping("/admin/consultant/report/loss/user/list/numerator") |
| | | Result lossUserNumeratorList(@RequestBody EmployeeReportDto employeeReportDto); |
| | | |
| | | /** |
| | | * 咨询师-流失客户分母预览 |
| | | */ |
| | | @PostMapping("/admin/consultant/report/loss/user/list/denominator") |
| | | Result lossUserDenominatorList(@RequestBody EmployeeReportDto employeeReportDto); |
| | | |
| | | /** |
| | | * 咨询师-核心项目 |
| | | */ |
| | | @RequestMapping("/admin/export/employee/core/project/list") |
| | | @PostMapping("/admin/consultant/report/core/project/list") |
| | | Result coreProjectList(@RequestBody EmployeeReportDto employeeReportDto); |
| | | |
| | | /** |
| | | * 咨询师-沉睡客执行业绩 |
| | | */ |
| | | @RequestMapping("/admin/export/employee/user/sleep/deduction/list") |
| | | @PostMapping("/admin/consultant/report/user/sleep/deduction/list") |
| | | Result userSleepDeductionList(@RequestBody(required = false) EmployeeReportDto employeeReportDto); |
| | | |
| | | /** |
| | | * 咨询师-医生执行占比数据列表 |
| | | */ |
| | | @RequestMapping("/admin/export/employee/user/doctor/deduction/list") |
| | | @PostMapping("/admin/consultant/report/user/doctor/deduction/list") |
| | | Result userDoctorDeductionList(@RequestBody EmployeeReportDto employeeReportDto); |
| | | |
| | | /** |
| | | * 咨询师-医生执行占比数据列表-月统计 |
| | | */ |
| | | @PostMapping("/admin/consultant/report/user/doctor/deduction/list/month") |
| | | Result userDoctorDeductionMonthList(@RequestBody EmployeeReportDto employeeReportDto); |
| | | |
| | | /**咨询师-微信营销数据*/ |
| | | @PostMapping("/admin/consultant/report/weChat/list") |
| | | Result weChatList(@RequestBody EmployeeReportDto employeeReportDto); |
| | | |
| | | /**咨询师-导出-核心项目提及率*/ |
| | | @PostMapping("/admin/consultant/report/weChat/list/export") |
| | | Result weChatListExport(@RequestBody EmployeeReportDto employeeReportDto); |
| | | |
| | | /**咨询师-咨询师-流失客户导出*/ |
| | | @PostMapping("/admin/consultant/report/loss/user/rate/export") |
| | | Result lossUserListExport(@RequestBody EmployeeReportDto employeeReportDto); |
| | | |
| | | /**咨询师-咨询师-科室业绩*/ |
| | | @PostMapping("/admin/consultant/report/room/list") |
| | | Result roomList(@RequestBody EmployeeReportDto employeeReportDto); |
| | | |
| | | /**咨询师-咨询师-初诊成交率 */ |
| | | @PostMapping("/admin/consultant/report/first/user/rate/export") |
| | | Result firstRateListExport(@RequestBody EmployeeReportDto employeeReportDto); |
| | | |
| | | /**咨询师-微信聊天总数及群聊数量*/ |
| | | @PostMapping("/admin/consultant/report/consultant/chat/data") |
| | | Result consultantWeChatData(@RequestBody EmployeeReportDto employeeReportDto); |
| | | |
| | | /** |
| | | * 咨询师用户项目流失 |
| | | */ |
| | | @PostMapping("/admin/consultant/report/project/loss/list/V2") |
| | | Result projectLossListV2(@RequestBody EmployeeReportDto employeeReportDto); |
| | | |
| | | /** |
| | | * 三大项目执行数据 |
| | | */ |
| | | @PostMapping("/admin/consultant/report/relation/project/list") |
| | | Result relationProjectList(@RequestBody EmployeeReportDto employeeReportDto); |
| | | |
| | | /** |
| | | * 预约迟到数据 |
| | | */ |
| | | @PostMapping("/admin/consultant/report/appointment/arrive/late/detail/list") |
| | | Result appointmentArriveLateList(@RequestBody EmployeeReportDto employeeReportDto); |
| | | |
| | | /** |
| | | * 顾问-名下会员+公海释放会员未执行数据 |
| | | */ |
| | | @PostMapping("/admin/consultant/report/user/data/deduction/list") |
| | | Result userDataDeductionList(@RequestBody EmployeeReportDto employeeReportDto); |
| | | |
| | | /** |
| | | * 顾问-名下会员+公海释放会员未执行数据-导出 |
| | | */ |
| | | @PostMapping("/admin/consultant/report/user/data/deduction/list/export") |
| | | Result userDataDeductionExport(@RequestBody EmployeeReportDto employeeReportDto); |
| | | |
| | | } |