fwq
2023-04-14 8f854906839d6e5a2d1786950a01d90605410ac4
咨询师日报
2个文件已添加
112 ■■■■■ 已修改文件
phis-feign/src/main/java/com/hz/his/dto/report/EmployeeReportDto.java 25 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiConsultantDayService.java 87 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
phis-feign/src/main/java/com/hz/his/dto/report/EmployeeReportDto.java
New file
@@ -0,0 +1,25 @@
package com.hz.his.dto.report;
import lombok.Data;
import java.util.List;
/**
 * 咨询师报表扩展
 * @author fwq
 * */
@Data
public class EmployeeReportDto {
    /**员工标识*/
    private String employeeId;
    /**员工标识集合*/
    private List<String> employeeIdList;
    /**门店标识集合*/
    private List<String> shopIdList;
    /**当前时间*/
    private String nowTime;
    /**开始时间*/
    private String startTime;
    /**结束时间*/
    private String endTime;
}
phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiConsultantDayService.java
New file
@@ -0,0 +1,87 @@
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;
import org.springframework.web.bind.annotation.RequestMapping;
/**
 * 咨询师日报表
 * 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀
 */
@FeignClient(name="phiskin-bi-view-user",path = "/bi-view",contextId = "bi-shop-day")
public interface BiConsultantDayService {
    /**
     * 咨询师-业绩总列表
     */
    @PostMapping("/admin/export/employee/deduction/total/list")
    Result deductionList(@RequestBody(required = false) EmployeeReportDto employeeReportDto);
    /**
     * 咨询师-执行业绩快报
     */
    @PostMapping("/admin/export/employee/deduction/detail/list")
    Result deductionDetailList(@RequestBody EmployeeReportDto employeeReportDto);
    /**
     * 咨询师-初诊简报
     */
    @PostMapping("/admin/export/employee/first/treat/list")
    Result firstTreatList(@RequestBody EmployeeReportDto employeeReportDto);
    /**
     * 咨询师-预约到诊
     */
    @PostMapping("/admin/export/employee/appointment/arrive/list")
    Result  appointmentArriveList(@RequestBody EmployeeReportDto employeeReportDto);
    /**
     * 咨询师-老带新简报
     */
    @PostMapping("/admin/export/employee/old/new/list")
    Result  oldLeadNew(@RequestBody EmployeeReportDto employeeReportDto);
    /**
     * 咨询师-会员变动数据
     */
    @PostMapping("/admin/export/employee/level/change/list")
    Result levelChangeList(@RequestBody EmployeeReportDto employeeReportDto);
    /**
     * 咨询师-季度活跃客户
     */
    @PostMapping("/admin/export/employee/active/user/list")
    Result activeUserList(@RequestBody EmployeeReportDto employeeReportDto);
    /**
     * 咨询师-流失客户
     */
    @PostMapping("/admin/export/employee/loss/user/list")
    Result lossUserList(@RequestBody EmployeeReportDto employeeReportDto);
    /**
     * 咨询师-核心项目
     */
    @RequestMapping("/admin/export/employee/core/project/list")
    Result coreProjectList(@RequestBody EmployeeReportDto employeeReportDto);
    /**
     * 咨询师-沉睡客执行业绩
     */
    @RequestMapping("/admin/export/employee/user/sleep/deduction/list")
    Result userSleepDeductionList(@RequestBody(required = false) EmployeeReportDto employeeReportDto);
    /**
     * 咨询师-医生执行占比数据列表
     */
    @RequestMapping("/admin/export/employee/user/doctor/deduction/list")
    Result userDoctorDeductionList(@RequestBody EmployeeReportDto employeeReportDto);
}