fwq
2023-08-09 c74d877f018d9d0b5bf4eaf4eede626f53804fde
医生快报接口
1个文件已添加
68 ■■■■■ 已修改文件
phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiDoctorSaleService.java 68 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiDoctorSaleService.java
New file
@@ -0,0 +1,68 @@
package com.hz.his.feign.service.platform.bi;
import com.hx.resultTool.Result;
import com.hz.his.dto.report.EmployeeReportDto;
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-doctor-perf")
public interface BiDoctorSaleService {
    /**
     * 医生-业绩总列表
     */
    @PostMapping("/admin/doctor/sale/report/deduction/total/list")
    Result deductionList(@RequestBody EmployeeReportDto employeeReportDto);
    /**
     * 医生-执行业绩数据-分门店
     */
    @PostMapping("/admin/doctor/sale/report/deduction/shop/list")
    Result deductionDetailList(@RequestBody EmployeeReportDto employeeReportDto);
    /**
     * 医生-核心项目
     */
    @PostMapping("/admin/doctor/sale/report/core/project/list")
    Result coreProjectList(@RequestBody EmployeeReportDto employeeReportDto);
    /**
     * 执行项目-分类
     */
    @PostMapping("/admin/doctor/sale/report/project/type/list")
    Result projectList(@RequestBody EmployeeReportDto employeeReportDto);
    /**
     * 执行部位
     */
    @PostMapping("/admin/doctor/sale/report/project/body/list")
    Result bodyList(@RequestBody EmployeeReportDto employeeReportDto);
    /**
     * 坐诊,接诊,预约数据
     */
    @PostMapping("/admin/doctor/sale/report/all/list")
    Result allList(@RequestBody EmployeeReportDto employeeReportDto);
    /**
     * 顾问关系执行占比
     */
    @PostMapping("/admin/doctor/sale/report/consultant/deduction/list")
    Result userDeductionList(@RequestBody EmployeeReportDto employeeReportDto);
    /**
     * 推荐顾客等级占比
     */
    @PostMapping("/admin/doctor/sale/report/user/list")
    Result inviteList(@RequestBody EmployeeReportDto employeeReportDto);
}