fwq
2023-04-14 a66cab2385ea2fb51b25772c8f0840e9c1febe41
门店日报
2个文件已添加
71 ■■■■■ 已修改文件
phis-feign/src/main/java/com/hz/his/dto/report/ShopReportDto.java 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiShopDayService.java 48 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
phis-feign/src/main/java/com/hz/his/dto/report/ShopReportDto.java
New file
@@ -0,0 +1,23 @@
package com.hz.his.dto.report;
import lombok.Data;
import java.util.List;
/**
 * 门店报表扩展
 * @author fwq
 * */
@Data
public class ShopReportDto {
    /**门店标识*/
    private String shopId;
    /**当前时间*/
    private String nowTime;
    /**开始时间*/
    private String startTime;
    /**结束时间*/
    private String endTime;
    /**门店列表标识*/
    private List<String> shopIdList;
}
phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiShopDayService.java
New file
@@ -0,0 +1,48 @@
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;
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 BiShopDayService {
    /**
     * 日报表-当日到店信息
     */
    @PostMapping("/admin/export/shop/day/arriveShop")
    Result arriveShop(@RequestBody ShopReportDto shopReportDto);
    /**
     * 日报表-当日各业绩指标
     */
    @PostMapping("/admin/export/shop/day/indicators")
    Result indicators(@RequestBody ShopReportDto shopReportDto);
    /**
     * 新老会员数据
     */
    @PostMapping("/admin/export/shop/day/old/lead/new")
    Result oldLeadNew(@RequestBody ShopReportDto shopReportDto);
    /**
     * 重点项目指标数据
     */
    @PostMapping("/admin/export/shop/important/project/indicators/list")
    Result importantProjectIndicators(@RequestBody ShopReportDto shopReportDto);
    /**
     * 其它业绩信息
     */
    @RequestMapping("/admin/export/shop/other/list")
    Result otherInAchievement(@RequestBody ShopReportDto shopReportDto);
}