fhx
2024-04-03 7c23b9962d35e38ec6c4e0dd32d75027e69bf189
phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiConsultantDayService.java
New file
@@ -0,0 +1,115 @@
package com.hz.his.feign.service.platform.bi;
import com.hx.resultTool.Result;
import com.hz.his.dto.report.EmployeeReportDto;
import com.hz.his.dto.report.UserReleaseDto;
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-consultant-day")
public interface BiConsultantDayService {
    /**
     * 咨询师-各业绩指标数据
     * EmployeeAchievementVo
     */
    @PostMapping("/admin/export/employee/indicators/list")
    Result indicators(@RequestBody EmployeeReportDto employeeReportDto);
    /**
     * 咨询师-初诊情况
     *  EmployeeFirstTreatVo
     */
    @PostMapping("/admin/export/employee/first/treat/list")
    Result firstTreat(@RequestBody EmployeeReportDto employeeReportDto);
    /**
     * 咨询师-到访未成交名单
     *
     */
    @PostMapping("/admin/export/employee/first/treat/user/list")
    Result firstTreatUser(@RequestBody EmployeeReportDto employeeReportDto);
    /**
     * 咨询师-核心项目指标数据
     */
    @PostMapping("/admin/export/employee/core/project/list")
    Result coreProject(@RequestBody EmployeeReportDto employeeReportDto);
    /**
     * 咨询师-公海释放名单
     */
    @PostMapping("/admin/export/employee/user/release/list")
    Result userReleaseList(@RequestBody UserReleaseDto userReleaseDto);
    /**
     * 咨询师-流失客户列表
     */
    @PostMapping("/admin/export/employee/user/lose/list")
    Result userLoseList(@RequestBody UserReleaseDto userReleaseDto);
    /**
     * 咨询师-沉睡客户列表
     */
    @PostMapping("/admin/export/employee/user/sleep/list")
    Result userSleepList(@RequestBody UserReleaseDto userReleaseDto);
    /**
     * 咨询师-沉睡客户比例
     */
    @PostMapping("/admin/export/employee/user/sleep/proportion")
    Result userSleepProportion(@RequestBody UserReleaseDto userReleaseDto);
    /**
     * 咨询师-会员等级分布列表
     */
    @PostMapping("/admin/export/employee/user/member/distribution")
    Result memberDistribution(@RequestBody UserReleaseDto userReleaseDto);
    /**
     * 咨询师-会员等级分比例
     */
    @PostMapping("/admin/export/employee/user/member/distribution/proportion")
    Result memberDistributionProportion(@RequestBody UserReleaseDto userReleaseDto);
    /**
     * 咨询师-老带新业绩
     */
    @PostMapping("/admin/export/employee/oldNew/report")
    Result oldNewReport(@RequestBody EmployeeReportDto employeeReportDto);
    /**
     * 咨询师-老带新业绩排名第一的员工
     */
    @PostMapping("/admin/export/employee/oldNew/top/employee")
    Result oldNewReportTopEmployee(@RequestBody EmployeeReportDto employeeReportDto);
    /**
     * 咨询师-预约周期报表
     */
    @PostMapping("/admin/export/employee/cycle/week/list")
    Result cycleWeekList(@RequestBody EmployeeReportDto employeeReportDto);
    /**
     * 咨询师-预约周期报表-导出
     */
    @PostMapping("/admin/export/employee/cycle/week/list/export")
    Result cycleWeekListExport(@RequestBody EmployeeReportDto employeeReportDto);
    /**
     * 咨询师-三大项目执行数据
     */
    @PostMapping("/admin/export/employee/relation/project/list")
    Result relationProjectList(@RequestBody EmployeeReportDto employeeReportDto);
}