package com.hz.his.feign.service.platform.bi; import com.hx.resultTool.Result; import com.hz.his.dto.report.CoreProjectReportDto; 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-core-project") public interface BiCoreProjectService { /** * 根据核心项目类型查询门店完成情况 */ @PostMapping("/admin/export/core/project/shop/list") Result shopList(@RequestBody CoreProjectReportDto coreProjectReportDto); /** * 根据核心项目类型查询咨询师完成情况 */ @PostMapping("/admin/export/core/project/employee/list") Result employeeList(@RequestBody CoreProjectReportDto coreProjectReportDto); /** * 根据核心项目类型查询医生完成情况 */ @PostMapping("/admin/export/core/project/doctor/list") Result doctorList(@RequestBody CoreProjectReportDto coreProjectReportDto); /** * 总比率 */ @PostMapping("/admin/export/core/project/data/rate") Result dataAll(@RequestBody CoreProjectReportDto coreProjectReportDto); }