fwq
2024-01-11 22b8996779b9b92a3c3d7f11c90cc1dcf0222760
提交 | 用户 | age
4818d5 1 package com.hz.his.feign.service.platform.bi;
A 2
3 import com.hx.resultTool.Result;
4 import com.hz.his.dto.report.EmployeeReportDto;
5 import com.hz.his.dto.report.ShopReportDto;
6 import org.springframework.cloud.openfeign.FeignClient;
7 import org.springframework.web.bind.annotation.PostMapping;
8 import org.springframework.web.bind.annotation.RequestBody;
9 import org.springframework.web.bind.annotation.RequestMapping;
10
11
12 /**
13  * 门店日报表
14  * 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀
15  */
16 @FeignClient(name="phiskin-bi-view-user",path = "/bi-view",contextId = "bi-shop-spa")
17 public interface BiShopSPAService {
18
19     /**
20      * 日报表-当日各业绩指标
21      * ShopAchievementVo
22      */
23     @PostMapping("/admin/export/shop/spa/day/indicators")
24     Result dayIndicators(@RequestBody ShopReportDto shopReportDto);
25
26     /**
27      * SPA咨询师业绩日报表
28      * EmployeeReportDto
29      */
30     @RequestMapping("/admin/export/shop/spa/employee/indicators/list")
31     Result employeeIndicatorsList(@RequestBody EmployeeReportDto employeeReportDto);
32
33     /**
34      * SPA项目指标数据
35      * ShopImportantProjectVo
36      */
37     @PostMapping("/admin/export/shop/spa/project/indicators/list")
38     Result projectIndicatorsList(@RequestBody ShopReportDto shopReportDto);
39 }