wangrenhuang
2023-04-17 baf3e35721a6d6154e6bed809240c26c5c3b27dc
phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiShopDayService.java
New file
@@ -0,0 +1,52 @@
package com.hz.his.feign.service.platform.bi;
import com.hx.resultTool.Result;
import com.hz.his.dto.report.ShopReportDto;
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-shop-day")
public interface BiShopDayService {
    /**
     * 日报表-当日到店信息
     * ArriveShopVo
     */
    @PostMapping("/admin/export/shop/day/arriveShop")
    Result arriveShop(@RequestBody ShopReportDto shopReportDto);
    /**
     * 日报表-当日各业绩指标
     * ShopAchievementVo
     */
    @PostMapping("/admin/export/shop/day/indicators")
    Result indicators(@RequestBody ShopReportDto shopReportDto);
    /**
     * 新老会员数据
     * ShopOldLeadNewVo
     */
    @PostMapping("/admin/export/shop/day/old/lead/new")
    Result oldLeadNew(@RequestBody ShopReportDto shopReportDto);
    /**
     * 重点项目指标数据
     * ShopImportantProjectVo
     */
    @PostMapping("/admin/export/shop/important/project/indicators/list")
    Result importantProjectIndicators(@RequestBody ShopReportDto shopReportDto);
    /**
     * 其它业绩信息
     * ShopOtherVo
     */
    @PostMapping("/admin/export/shop/other/list")
    Result otherInAchievement(@RequestBody ShopReportDto shopReportDto);
}