From e957c9ed2ae46a3a7344040acfd7d7887db53172 Mon Sep 17 00:00:00 2001
From: fwq <582742538@qq.com>
Date: 星期一, 11 十二月 2023 11:42:35 +0800
Subject: [PATCH] 增长中心报表接口

---
 phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiUserService.java  |   34 ++++++++++++++++
 phis-feign/src/main/java/com/hz/his/dto/report/UserReportDto.java                 |   10 ++++
 phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiGroupService.java |   28 ++++++++++++++
 3 files changed, 70 insertions(+), 2 deletions(-)

diff --git a/phis-feign/src/main/java/com/hz/his/dto/report/UserReportDto.java b/phis-feign/src/main/java/com/hz/his/dto/report/UserReportDto.java
index dd22a49..15760ea 100644
--- a/phis-feign/src/main/java/com/hz/his/dto/report/UserReportDto.java
+++ b/phis-feign/src/main/java/com/hz/his/dto/report/UserReportDto.java
@@ -5,7 +5,7 @@
 import java.util.List;
 
 /**
- * 鍜ㄨ甯堟姤琛ㄦ墿灞�
+ * 鐢ㄦ埛鎶ヨ〃鎵╁睍
  * @author fwq
  * */
 @Data
@@ -24,6 +24,10 @@
     private List<String> roomList;
     /**鍖荤敓鏍囪瘑*/
     private List<String> doctorIdList;
+    /**娉ㄥ皠绉戝尰鐢熸爣璇�*/
+    private List<String> zskDoctorIdList;
+    /**鐨偆绉戝尰鐢熸爣璇�*/
+    private List<String> pfkDoctorIdList;
     /**浼氬憳绛夌骇*/
     private List<String> userLevelList;
     /**浼氬憳鐘舵��*/
@@ -32,4 +36,8 @@
     private List<String> upProjectIdList;
     /**椤鹃棶鏍囪瘑*/
     private List<String> adviserIdList;
+    /**鏍囩*/
+    private List<String> tagNameList;
+    /**鎵ц棰戞,1,2,3(-1涓哄娆�)*/
+    private Integer deductionNum;
 }
diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiGroupService.java b/phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiGroupService.java
new file mode 100644
index 0000000..4166d3b
--- /dev/null
+++ b/phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiGroupService.java
@@ -0,0 +1,28 @@
+package com.hz.his.feign.service.platform.bi;
+
+import com.hx.resultTool.Result;
+import com.hz.his.dto.report.GroupUserReportDto;
+import org.springframework.cloud.openfeign.FeignClient;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestBody;
+
+
+/**
+ * 缇ゆ暟鎹�
+ * 杩欓噷杩欎釜name 闇�瑕佸~鍐� 璇锋眰鐨勬湇鍔℃彁渚涜�呯殑娉ㄥ唽鍒皀acos Server涓婇潰鐨勬湇鍔″悕锛宲ath 鏄姹傛帴鍙e墠缂�
+ */
+@FeignClient(name = "phiskin-bi-view-user", path = "/bi-view", contextId = "bi-group-data")
+public interface BiGroupService {
+
+    /**
+     * 缇ゆ暟鎹�-澧為暱涓績椤圭洰娑堣垂棰戞鍜屾秷璐�
+     */
+    @PostMapping("/admin/group/report/deduction/total")
+    Result deductionTotal(@RequestBody GroupUserReportDto groupUserReportDto);
+
+
+
+
+
+
+}
diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiUserService.java b/phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiUserService.java
index 803918e..6f18fed 100644
--- a/phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiUserService.java
+++ b/phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiUserService.java
@@ -1,7 +1,7 @@
 package com.hz.his.feign.service.platform.bi;
 
 import com.hx.resultTool.Result;
-import com.hz.his.dto.report.CxjReportReqDto;
+import com.hz.his.dto.report.UserReportDto;
 import com.hz.his.dto.report.UserReportListDto;
 import org.springframework.cloud.openfeign.FeignClient;
 import org.springframework.web.bind.annotation.PostMapping;
@@ -22,4 +22,36 @@
     Result cashTotalList(@RequestBody UserReportListDto userReportListDto);
 
 
+    /**
+     * RFM浼氬憳姹犲瓙
+     */
+    @PostMapping("/admin/user/report/rfm/data/list")
+    Result rfmDataList(@RequestBody UserReportDto userReportDto);
+
+    /**
+     * 鍖荤敓浼氬憳姹犲瓙
+     */
+    @PostMapping("/admin/user/report/doctor/data/list")
+    Result doctorDataList(@RequestBody UserReportDto userReportDto);
+
+    /**
+     * 椤圭洰娑堣垂棰戞鍜屾笚閫忕巼
+     */
+    @PostMapping("/admin/user/report/deduction/list")
+    Result deductionList(@RequestBody UserReportDto userReportDto);
+
+    /**
+     * 鍖荤敓鎷夌兢绾跨储-鍘嗗彶娌荤枟鏍囩
+     */
+    @PostMapping("/admin/user/report/treat/tag/list")
+    Result treatTagList(@RequestBody UserReportDto userReportDto);
+
+    /**
+     * 鍖荤敓鎷夌兢绾跨储-缇庨檯鏍囩
+     */
+    @PostMapping("/admin/user/report/treat/mj/tag/list")
+    Result treatMjTagList(@RequestBody UserReportDto userReportDto);
+
+
+
 }

--
Gitblit v1.8.0