From a66cab2385ea2fb51b25772c8f0840e9c1febe41 Mon Sep 17 00:00:00 2001 From: fwq <582742538@qq.com> Date: 星期五, 14 四月 2023 16:32:51 +0800 Subject: [PATCH] 门店日报 --- phis-feign/src/main/java/com/hz/his/dto/report/ShopReportDto.java | 23 +++++++++++ phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiShopDayService.java | 48 ++++++++++++++++++++++++ 2 files changed, 71 insertions(+), 0 deletions(-) diff --git a/phis-feign/src/main/java/com/hz/his/dto/report/ShopReportDto.java b/phis-feign/src/main/java/com/hz/his/dto/report/ShopReportDto.java new file mode 100644 index 0000000..39bea7a --- /dev/null +++ b/phis-feign/src/main/java/com/hz/his/dto/report/ShopReportDto.java @@ -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; +} diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiShopDayService.java b/phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiShopDayService.java new file mode 100644 index 0000000..c06f6fa --- /dev/null +++ b/phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiShopDayService.java @@ -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 闇�瑕佸~鍐� 璇锋眰鐨勬湇鍔℃彁渚涜�呯殑娉ㄥ唽鍒皀acos Server涓婇潰鐨勬湇鍔″悕锛宲ath 鏄姹傛帴鍙e墠缂� + */ +@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); + +} -- Gitblit v1.8.0