From bb3b5528f90d540d91fbc8e8b487dc77751e26e5 Mon Sep 17 00:00:00 2001
From: fwq <582742538@qq.com>
Date: 星期二, 18 四月 2023 11:56:43 +0800
Subject: [PATCH] 抽取报表接口到bi

---
 phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiDoctorPerfService.java     |   32 ++
 phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiMemberService.java         |   43 +++
 phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiEmpUserService.java        |   30 ++
 phis-feign/src/main/java/com/hz/his/dto/report/ReportReqVo.java                            |   21 +
 phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiConsultantDayService.java  |    2 
 phis-feign/src/main/java/com/hz/his/dto/report/ShopCashReportDto.java                      |   52 ++++
 phis-feign/src/main/java/com/hz/his/dto/report/PerformanceReqParamsDto.java                |   12 
 phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiCoreProjectService.java    |   42 +++
 phis-feign/src/main/java/com/hz/his/dto/report/TmkOrderPerfReqDto.java                     |   25 ++
 phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiNursePerfService.java      |   32 ++
 phis-feign/src/main/java/com/hz/his/dto/report/MemberVisitReqDto.java                      |   39 +++
 phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiConsultantPerfService.java |   24 -
 phis-feign/src/main/java/com/hz/his/dto/report/UserMoneyReportReqDto.java                  |   19 +
 phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiTransferService.java       |   23 +
 phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiOpeStaService.java         |  141 +++++++++++
 phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiShopCashService.java       |   25 ++
 phis-feign/src/main/java/com/hz/his/dto/report/CxjReportReqDto.java                        |   23 +
 phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiCxjService.java            |   43 +++
 phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiOrderReportService.java    |   23 +
 phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiTmkPerfService.java        |   37 +++
 20 files changed, 658 insertions(+), 30 deletions(-)

diff --git a/phis-feign/src/main/java/com/hz/his/dto/report/CxjReportReqDto.java b/phis-feign/src/main/java/com/hz/his/dto/report/CxjReportReqDto.java
new file mode 100644
index 0000000..c150a35
--- /dev/null
+++ b/phis-feign/src/main/java/com/hz/his/dto/report/CxjReportReqDto.java
@@ -0,0 +1,23 @@
+package com.hz.his.dto.report;
+
+import com.alibaba.fastjson.JSONArray;
+import lombok.Data;
+
+/**
+ * CXJ鎶ヨ〃璇锋眰vo
+ * @USER: fhx
+ * @DATE: 2023/2/8
+ **/
+@Data
+public class CxjReportReqDto extends BaseQueryVo {
+    /** 寮�濮嬫椂闂� */
+    private String startTime;
+    /** 缁撴潫鏃堕棿 */
+    private String endTime;
+    /** 鍛樺伐id */
+    private String employeeId;
+    /** 闂ㄥ簵id */
+    private String shopId;
+    /** 澶氶棬搴梚d锛屾牸寮忥細[id, id] */
+    private JSONArray shopIdArr;
+}
diff --git a/phis-feign/src/main/java/com/hz/his/dto/report/MemberVisitReqDto.java b/phis-feign/src/main/java/com/hz/his/dto/report/MemberVisitReqDto.java
new file mode 100644
index 0000000..898cdf4
--- /dev/null
+++ b/phis-feign/src/main/java/com/hz/his/dto/report/MemberVisitReqDto.java
@@ -0,0 +1,39 @@
+package com.hz.his.dto.report;
+
+import lombok.Data;
+
+/**
+ * 浼氬憳鏉ヨ璇锋眰vo
+ * @USER: fhx
+ * @DATE: 2022/12/28
+ **/
+@Data
+public class MemberVisitReqDto extends BaseQueryVo{
+
+    //鍒拌寮�濮嬫椂闂�
+    private String startTime;
+    //鍒拌缁撴潫鏃堕棿
+    private String endTime;
+    //闂ㄥ簵id
+    private String shopId;
+    //绉戝id
+//    private String departmentId;
+    //灏辫瘖绫诲瀷
+    private String treatTypeName;
+    //鍒拌绫诲埆
+    private String preTypeName;
+    //瀹㈡湇id
+    private String chatCorpUserId;
+    //鍖荤敓id
+    private String doctorId;
+    //鎵�灞炲挩璇㈠笀id
+    private String hisCorpUserId;
+    //鐢电綉鍜ㄨ甯坕d
+    private String internetCorpUserId;
+    //鎺ュ緟鍜ㄨ甯坕d
+    private String receptionConsultantId;
+    //娓犻亾
+//    private String channel;
+    //鍒拌鍒涘缓浜篒d
+    private String createPersonnelId;
+}
diff --git a/phis-feign/src/main/java/com/hz/his/dto/report/PerformanceReqParamsVo.java b/phis-feign/src/main/java/com/hz/his/dto/report/PerformanceReqParamsDto.java
similarity index 93%
rename from phis-feign/src/main/java/com/hz/his/dto/report/PerformanceReqParamsVo.java
rename to phis-feign/src/main/java/com/hz/his/dto/report/PerformanceReqParamsDto.java
index 231fdd2..b4851de 100644
--- a/phis-feign/src/main/java/com/hz/his/dto/report/PerformanceReqParamsVo.java
+++ b/phis-feign/src/main/java/com/hz/his/dto/report/PerformanceReqParamsDto.java
@@ -1,12 +1,6 @@
 package com.hz.his.dto.report;
 
-
-
-
-import com.hz.his.dto.PageDto;
 import lombok.Data;
-
-
 
 /**
  * 涓氱哗鎺ュ彛璇锋眰鍙傛暟vo
@@ -14,7 +8,7 @@
  * @DATE: 2022/12/14
  **/
 @Data
-public class PerformanceReqParamsVo extends BaseQueryVo {
+public class PerformanceReqParamsDto extends BaseQueryVo {
 
     public static final int NO = 0;
     public static final int YES = 1;
@@ -90,8 +84,4 @@
     private Integer sumIsShop = NO;
     //姹囨�昏鑹�
     private String sumRole;
-
-
-    public PerformanceReqParamsVo() {
-    }
 }
diff --git a/phis-feign/src/main/java/com/hz/his/dto/report/ReportReqVo.java b/phis-feign/src/main/java/com/hz/his/dto/report/ReportReqVo.java
new file mode 100644
index 0000000..ba378a1
--- /dev/null
+++ b/phis-feign/src/main/java/com/hz/his/dto/report/ReportReqVo.java
@@ -0,0 +1,21 @@
+package com.hz.his.dto.report;
+
+import lombok.Data;
+
+/**
+ * 鎶ヨ〃璇锋眰vo
+ * @USER: fhx
+ * @DATE: 2023/3/9
+ **/
+@Data
+public class ReportReqVo extends BaseQueryVo {
+
+    //寮�濮嬫椂闂�
+    private String startTime;
+    //缁撴潫鏃堕棿
+    private String endTime;
+    //鐢ㄦ埛鍚嶇О or CIQ
+    private String userName;
+
+
+}
diff --git a/phis-feign/src/main/java/com/hz/his/dto/report/ShopCashReportDto.java b/phis-feign/src/main/java/com/hz/his/dto/report/ShopCashReportDto.java
new file mode 100644
index 0000000..9bf67f6
--- /dev/null
+++ b/phis-feign/src/main/java/com/hz/his/dto/report/ShopCashReportDto.java
@@ -0,0 +1,52 @@
+package com.hz.his.dto.report;
+
+import lombok.Data;
+
+import java.util.List;
+
+/**
+ * @Author  闂ㄥ簵涓氱哗鎶ヨ〃瀹炰綋
+ */
+@Data
+public class ShopCashReportDto {
+    /**闂ㄥ簵鏍囪瘑*/
+    private String shopId;
+    /** 涓氱哗绫诲瀷   */
+    private String type;
+    /**寮�濮嬫椂闂�*/
+    private String startTime;
+    /**缁撴潫鏃堕棿*/
+    private String endTime;
+    /**闂ㄥ簵鍒楄〃鏍囪瘑*/
+    private List<String> shopIdList;
+
+    /**涓氱哗绫诲瀷-闂ㄥ簵鏃ョ幇閲戜笟缁�*/
+    public static final String  TYPE_DAY_CASH= "day_cash";
+    /**涓氱哗绫诲瀷-闂ㄥ簵鏃ユ墽琛屼笟缁�*/
+    public static final String  TYPE_DAY_IMPLEMENT= "day_implement";
+    /**涓氱哗绫诲瀷-闂ㄥ簵鍛ㄧ幇閲戜笟缁�*/
+    public static final String  TYPE_WEEK_CASH= "week_cash";
+    /**涓氱哗绫诲瀷-闂ㄥ簵鍛ㄦ墽琛屼笟缁�*/
+    public static final String  TYPE_WEEK_IMPLEMENT= "week_implement";
+    /**涓氱哗绫诲瀷-闂ㄥ簵鏈堢幇閲戜笟缁�*/
+    public static final String  TYPE_MONTH_CASH= "month_cash";
+    /**涓氱哗绫诲瀷-闂ㄥ簵鏈堟墽琛屼笟缁�*/
+    public static final String  TYPE_MONTH_IMPLEMENT= "month_implement";
+
+
+    /** 鑾峰彇鏌ヨ闂ㄥ簵insql */
+    public String getSelectShopInSql(){
+        if(shopIdList == null || shopIdList.size() < 1){
+            return null;
+        }
+
+        StringBuffer sql = new StringBuffer();
+        sql.append("(");
+        for(String shopId : shopIdList){
+            sql.append("'").append(shopId).append("',");
+        }
+        sql.delete(sql.length()-1, sql.length());
+        sql.append(")");
+        return sql.toString();
+    }
+}
diff --git a/phis-feign/src/main/java/com/hz/his/dto/report/TmkOrderPerfReqDto.java b/phis-feign/src/main/java/com/hz/his/dto/report/TmkOrderPerfReqDto.java
new file mode 100644
index 0000000..7cdcddd
--- /dev/null
+++ b/phis-feign/src/main/java/com/hz/his/dto/report/TmkOrderPerfReqDto.java
@@ -0,0 +1,25 @@
+package com.hz.his.dto.report;
+
+import lombok.Data;
+
+/**
+ * TMK璁㈠崟涓氱哗璇锋眰vo
+ * @USER: fhx
+ * @DATE: 2023/1/4
+ **/
+@Data
+public class TmkOrderPerfReqDto extends BaseQueryVo {
+
+    //寮�濮嬫椂闂�
+    private String startTime;
+    //缁撴潫鏃堕棿
+    private String endTime;
+    //闂ㄥ簵
+    private String shopId;
+    //鐢电綉鍜ㄨ甯坕d
+    private String internetCorpUserId;
+    //瀹㈡湇id
+    private String chatCorpUserId;
+    //鍓嶇疆澶╂暟
+    private Integer leadDays;
+}
diff --git a/phis-feign/src/main/java/com/hz/his/dto/report/UserMoneyReportReqDto.java b/phis-feign/src/main/java/com/hz/his/dto/report/UserMoneyReportReqDto.java
new file mode 100644
index 0000000..312fb4d
--- /dev/null
+++ b/phis-feign/src/main/java/com/hz/his/dto/report/UserMoneyReportReqDto.java
@@ -0,0 +1,19 @@
+package com.hz.his.dto.report;
+
+import lombok.Data;
+
+/**
+ * 鐢ㄦ埛閲戦鎶ヨ〃璇锋眰
+ * @USER: fhx
+ * @DATE: 2023/3/7
+ **/
+@Data
+public class UserMoneyReportReqDto extends BaseQueryVo {
+    //寮�濮嬫椂闂�
+    private String startTime;
+    //缁撴潫鏃堕棿
+    private String endTime;
+    //鐢ㄦ埛鍚嶇О or CIQ
+    private String userName;
+
+}
diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiConsultantDayService.java b/phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiConsultantDayService.java
index 624e212..cf291b0 100644
--- a/phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiConsultantDayService.java
+++ b/phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiConsultantDayService.java
@@ -9,7 +9,7 @@
 
 
 /**
- * 鍜ㄨ甯堟棩琛�
+ * 鍜ㄨ甯堟棩鎶�
  * 杩欓噷杩欎釜name 闇�瑕佸~鍐� 璇锋眰鐨勬湇鍔℃彁渚涜�呯殑娉ㄥ唽鍒皀acos Server涓婇潰鐨勬湇鍔″悕锛宲ath 鏄姹傛帴鍙e墠缂�
  */
 @FeignClient(name="phiskin-bi-view-user",path = "/bi-view",contextId = "bi-consultant-day")
diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiConsultantPerfService.java b/phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiConsultantPerfService.java
index 369d6a5..8e14d7d 100644
--- a/phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiConsultantPerfService.java
+++ b/phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiConsultantPerfService.java
@@ -1,7 +1,7 @@
 package com.hz.his.feign.service.platform.bi;
 
 import com.hx.resultTool.Result;
-import com.hz.his.dto.report.ClinicPerfReqDto;
+import com.hz.his.dto.report.PerformanceReqParamsDto;
 import org.springframework.cloud.openfeign.FeignClient;
 import org.springframework.web.bind.annotation.PostMapping;
 import org.springframework.web.bind.annotation.RequestBody;
@@ -17,26 +17,14 @@
     /**
      * 鍜ㄨ甯堟墽琛屼笟缁�
      */
-    @PostMapping("/admin/clinic/perf/cash/list")
-    Result cashList(@RequestBody ClinicPerfReqDto reqDto);
+    @PostMapping("/admin/consultant/perf/list")
+    Result list(@RequestBody PerformanceReqParamsDto performanceReqParamsDto);
 
     /**
-     * 璇婃墍鐜伴噾涓氱哗-鏀粯绫诲瀷姹囨��
+     * 鍜ㄨ甯堟墽琛屼笟缁╂眹鎬�
      */
-    @PostMapping("/admin/clinic/perf/cashPayTypeSummary")
-    Result cashPayTypeSummary(@RequestBody ClinicPerfReqDto reqDto);
-
-    /**
-     * 璇婃墍鎵ц涓氱哗
-     */
-    @PostMapping("/admin/clinic/perf/deduct/list")
-    Result deductList(@RequestBody ClinicPerfReqDto reqDto);
-
-    /**
-     * 鏀堕摱璇︾粏鍒楄〃
-     */
-    @PostMapping("/admin/clinic/perf/cashierDetailList")
-    Result cashierDetailList(@RequestBody ClinicPerfReqDto reqDto);
+    @PostMapping("/admin/consultant/perf/summary/list")
+    Result summaryList(@RequestBody PerformanceReqParamsDto performanceReqParamsDto);
 
 
 
diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiCoreProjectService.java b/phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiCoreProjectService.java
new file mode 100644
index 0000000..412f13c
--- /dev/null
+++ b/phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiCoreProjectService.java
@@ -0,0 +1,42 @@
+package com.hz.his.feign.service.platform.bi;
+
+import com.hx.resultTool.Result;
+import com.hz.his.dto.report.CoreProjectReportDto;
+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-core-project")
+public interface BiCoreProjectService {
+
+    /**
+     * 鏍规嵁鏍稿績椤圭洰绫诲瀷鏌ヨ闂ㄥ簵瀹屾垚鎯呭喌
+     */
+    @PostMapping("/admin/export/core/project/shop/list")
+    Result shopList(@RequestBody CoreProjectReportDto coreProjectReportDto);
+
+    /**
+     * 鏍规嵁鏍稿績椤圭洰绫诲瀷鏌ヨ鍜ㄨ甯堝畬鎴愭儏鍐�
+     */
+    @PostMapping("/admin/export/core/project/employee/list")
+    Result employeeList(@RequestBody CoreProjectReportDto coreProjectReportDto);
+
+    /**
+     * 鏍规嵁鏍稿績椤圭洰绫诲瀷鏌ヨ鍖荤敓瀹屾垚鎯呭喌
+     */
+    @PostMapping("/admin/export/core/project/doctor/list")
+    Result doctorList(@RequestBody CoreProjectReportDto coreProjectReportDto);
+
+    /**
+     * 鎬绘瘮鐜�
+     */
+    @PostMapping("/admin/export/core/project/data/rate")
+    Result dataAll(@RequestBody CoreProjectReportDto coreProjectReportDto);
+
+
+}
diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiCxjService.java b/phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiCxjService.java
new file mode 100644
index 0000000..4b878c0
--- /dev/null
+++ b/phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiCxjService.java
@@ -0,0 +1,43 @@
+package com.hz.his.feign.service.platform.bi;
+
+import com.hx.resultTool.Result;
+import com.hz.his.dto.report.CoreProjectReportDto;
+import com.hz.his.dto.report.CxjReportReqDto;
+import org.springframework.cloud.openfeign.FeignClient;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestBody;
+
+
+/**
+ * CXJ鎶ヨ〃
+ * 杩欓噷杩欎釜name 闇�瑕佸~鍐� 璇锋眰鐨勬湇鍔℃彁渚涜�呯殑娉ㄥ唽鍒皀acos Server涓婇潰鐨勬湇鍔″悕锛宲ath 鏄姹傛帴鍙e墠缂�
+ */
+@FeignClient(name = "phiskin-bi-view-user", path = "/bi-view", contextId = "bi-cxj-project")
+public interface BiCxjService {
+
+    /**
+     * 棰勭害鎯呭喌
+     */
+    @PostMapping("/admin/cxj/report/appointmentSituation")
+    Result appointmentSituation(@RequestBody CxjReportReqDto cxjReportReqDto);
+
+    /**
+     * 椤鹃棶瀹㈡埛棰勭害鍜屽埌搴楁椂闂存姌绾垮浘
+     */
+    @PostMapping("/admin/cxj/report/appTimeLineChart")
+    Result appTimeLineChart(@RequestBody CxjReportReqDto cxjReportReqDto);
+
+    /**
+     * 绛夊緟鎯呭喌
+     */
+    @PostMapping("/admin/cxj/report/appTimeLineChart/waitSituation")
+    Result waitSituation(@RequestBody CxjReportReqDto cxjReportReqDto);
+
+    /**
+     * 闈㈣瘖鎯呭喌
+     */
+    @PostMapping("/admin/cxj/report/consultSituation")
+    Result consultSituation(@RequestBody CxjReportReqDto cxjReportReqDto);
+
+
+}
diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiDoctorPerfService.java b/phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiDoctorPerfService.java
new file mode 100644
index 0000000..90a2683
--- /dev/null
+++ b/phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiDoctorPerfService.java
@@ -0,0 +1,32 @@
+package com.hz.his.feign.service.platform.bi;
+
+import com.hx.resultTool.Result;
+import com.hz.his.dto.report.PerformanceReqParamsDto;
+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-doctor-perf")
+public interface BiDoctorPerfService {
+
+    /**
+     * 鍖荤敓鎵ц涓氱哗
+     */
+    @PostMapping("/admin/doctor/perf/list")
+    Result list(@RequestBody PerformanceReqParamsDto performanceReqParamsDto);
+
+    /**
+     * 鍖荤敓鎵ц涓氱哗姹囨��
+     */
+    @PostMapping("/admin/doctor/perf/summary/list")
+    Result summaryList(@RequestBody PerformanceReqParamsDto performanceReqParamsDto);
+
+
+
+
+}
diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiEmpUserService.java b/phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiEmpUserService.java
new file mode 100644
index 0000000..84db793
--- /dev/null
+++ b/phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiEmpUserService.java
@@ -0,0 +1,30 @@
+package com.hz.his.feign.service.platform.bi;
+
+import com.hx.resultTool.Result;
+import com.hz.his.dto.report.EmployeeReportDto;
+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-emp-user")
+public interface BiEmpUserService {
+
+    /**
+     * 鍖荤敓鎵ц涓氱哗
+     */
+    @PostMapping("/admin/employee/user/analyse/list")
+    Result list(@RequestBody EmployeeReportDto employeeReportDto);
+
+    /**
+     * 鏌ョ湅瀹㈡埛鍒嗘瀽鏁版嵁V1鐗堟湰
+     */
+    @PostMapping("/admin/employee/user/analyse/list/V1")
+    Result analyseListOne(@RequestBody EmployeeReportDto employeeReportDto);
+
+
+}
diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiMemberService.java b/phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiMemberService.java
new file mode 100644
index 0000000..0b7fc64
--- /dev/null
+++ b/phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiMemberService.java
@@ -0,0 +1,43 @@
+package com.hz.his.feign.service.platform.bi;
+
+import com.hx.resultTool.Result;
+import com.hz.his.dto.report.MemberVisitReqDto;
+import com.hz.his.dto.report.UserMoneyReportReqDto;
+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-member-report")
+public interface BiMemberService {
+
+    /**
+     * 浼氬憳鏉ヨ-鏄庣粏鍒楄〃
+     */
+    @PostMapping("/admin/member/visit/detailsList")
+    Result detailsList(@RequestBody MemberVisitReqDto memberVisitReqDto);
+
+
+    /**
+     * 鍌ㄥ�奸噾浣欓鍙樺姩琛�
+     */
+    @PostMapping("/admin/user/money/report/sfcList")
+    Result storedFundChangeList(@RequestBody UserMoneyReportReqDto userMoneyReportReqDto);
+
+    /**
+     * 澧炲�奸噾浣欓鍙樺姩琛�
+     */
+    @PostMapping("/admin/user/money/report/avcList")
+    Result addValueFundChangeList(@RequestBody UserMoneyReportReqDto userMoneyReportReqDto);
+
+    /**
+     * 绉垎浣欓鍙樺姩琛�
+     */
+    @PostMapping("/admin/user/money/report/icList")
+    Result integralChangeList(@RequestBody UserMoneyReportReqDto userMoneyReportReqDto);
+
+}
diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiNursePerfService.java b/phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiNursePerfService.java
new file mode 100644
index 0000000..c124cfc
--- /dev/null
+++ b/phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiNursePerfService.java
@@ -0,0 +1,32 @@
+package com.hz.his.feign.service.platform.bi;
+
+import com.hx.resultTool.Result;
+import com.hz.his.dto.report.PerformanceReqParamsDto;
+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-nurse-perf")
+public interface BiNursePerfService {
+
+    /**
+     * 鎶ゅ+鎵ц涓氱哗
+     */
+    @PostMapping("/admin/nurse/perf/list")
+    Result list(@RequestBody PerformanceReqParamsDto performanceReqParamsDto);
+
+    /**
+     * 鍖荤敓鎵ц涓氱哗姹囨��
+     */
+    @PostMapping("/admin/nurse/perf/summary/list")
+    Result summaryList(@RequestBody PerformanceReqParamsDto performanceReqParamsDto);
+
+
+
+
+}
diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiOpeStaService.java b/phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiOpeStaService.java
new file mode 100644
index 0000000..74c0c8b
--- /dev/null
+++ b/phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiOpeStaService.java
@@ -0,0 +1,141 @@
+package com.hz.his.feign.service.platform.bi;
+
+import com.hx.resultTool.Result;
+import com.hz.his.dto.report.CoreProjectReportDto;
+import com.hz.his.dto.report.OperationalStatementsVo;
+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-ope-sta")
+public interface BiOpeStaService {
+
+    /**
+     * 棣栭〉澶撮儴鏁版嵁鍜岄棬搴楁墽琛屼笟缁╁畬鎴愭儏鍐碉紝鍙敮鎸佹湀浠芥搷浣�
+     */
+    @PostMapping("/admin/operational/index")
+    Result index(@RequestBody OperationalStatementsVo operationalStatementsVo);
+
+    /**
+     * 鐜伴噾涓氱哗&鎵ц涓氱哗鏃堕棿瓒嬪娍
+     */
+    @PostMapping("/admin/operational/cash/time-trend")
+    Result cashierSettlement(@RequestBody OperationalStatementsVo operationalStatementsVo);
+
+    /**
+     * 鍛樺伐鎵ц涓氱哗鎺掑悕-鍚勫挩璇㈠笀鎵ц涓氱哗
+     */
+    @PostMapping("/admin/operational/consultant/execute-achievement")
+    Result consultantExecute(@RequestBody OperationalStatementsVo operationalStatementsVo);
+
+    /**
+     * 鍛樺伐鎵ц涓氱哗鎺掑悕-鍖荤敓鎵ц涓氱哗鎺掑悕
+     */
+    @PostMapping("/admin/operational/doctor/execute-achievement")
+    Result doctorExecute(@RequestBody OperationalStatementsVo operationalStatementsVo);
+
+    /**
+     * 鏈懆鍖荤敓姣忔棩闈㈣瘖浜烘暟鍙婃墽琛屼笟缁�
+     */
+    @PostMapping("/admin/operational/doctor/week/execute-achievement")
+    Result doctorWeekExecute(@RequestBody OperationalStatementsVo operationalStatementsVo);
+
+
+    /**
+     * 鍚勯」鐩ぇ绫绘墽琛屾儏鍐靛垎鏋�
+     */
+    @PostMapping("/admin/operational/project/category/execute")
+    Result projectCategory(@RequestBody OperationalStatementsVo operationalStatementsVo);
+
+    /**
+     * 鍒濊瘖鎴愪氦椤圭洰鎺掕
+     */
+    @PostMapping("/admin/operational/project/initial/diagnosis")
+    Result projectCategoryOne(@RequestBody OperationalStatementsVo operationalStatementsVo);
+
+    /**
+     * 鍚勯棬搴楅攢鍞儏鍐靛垎鏋愶紙鍒拌-鎴愪氦-寮�鍗曪級
+     */
+    @PostMapping("/admin/operational/shop/sale/order")
+    Result shopSale(@RequestBody OperationalStatementsVo operationalStatementsVo);
+
+    /**
+     * 鍚勬笭閬撻澶╂垚浜ゆ儏鍐靛垎鏋�
+     */
+    @PostMapping("/admin/operational/channels/first-day/deal")
+    Result channelDeal(@RequestBody OperationalStatementsVo operationalStatementsVo);
+
+    /**
+     * 鍚勬笭閬撻澶╂垚浜ゆ儏鍐靛垎鏋�-娌夌潯瀹㈠敜閱掓垚浜ゅ垎鏋�
+     */
+    @PostMapping("/admin/operational/channels/dead-sleep/deal")
+    Result deadSleep(@RequestBody OperationalStatementsVo operationalStatementsVo);
+
+    /**
+     * 鍚勬笭閬撻澶╂垚浜ゆ儏鍐靛垎鏋�-娓犻亾鎬讳俊鎭�
+     */
+    @PostMapping("/admin/operational/channels/deal")
+    Result channelsDeal(@RequestBody OperationalStatementsVo operationalStatementsVo);
+
+
+    /**
+     * 鍚勬笭閬撻澶╂垚浜ゆ儏鍐靛垎鏋�-鏂板獟浣撴矇鐫″娓犻亾鐜伴噾涓氱哗
+     */
+    @PostMapping("/admin/operational/channels/new-media")
+    Result channelsNewMedia(@RequestBody OperationalStatementsVo operationalStatementsVo);
+
+    /**
+     * 鍚勬笭閬撻澶╂垚浜ゆ儏鍐靛垎鏋�-闂ㄨ瘖鍚勬笭閬撻澶╂垚浜ゆ儏鍐靛垎鏋�
+     */
+    @PostMapping("/admin/operational/shop/channels")
+    Result shopChannels(@RequestBody OperationalStatementsVo operationalStatementsVo);
+
+    /**
+     * 闂ㄥ簵&鍜ㄨ甯堣�佸甫鏂伴澶╂垚浜ら噾棰濆垎鏋�
+     */
+    @PostMapping("/admin/operational/shop/consultant/deal-analysis")
+    Result shopConsultant(@RequestBody OperationalStatementsVo operationalStatementsVo);
+
+    /**
+     * 闂ㄥ簵&鍜ㄨ甯圕RM鑹捐姱鑽熸垚浜�
+     */
+    @PostMapping("/admin/operational/shop/consultant/crm-deal")
+    Result shopConsultantCrm(@RequestBody OperationalStatementsVo operationalStatementsVo);
+
+    /**
+     * 鍚勯棬搴�&鍜ㄨ甯堝垵璇�&澶嶈瘖鎯呭喌鍒嗘瀽(鏈噺閲戦)
+     */
+    @PostMapping("/admin/operational/shop/consultant/all-deal")
+    Result shopConsultantDeal(@RequestBody OperationalStatementsVo operationalStatementsVo);
+
+    /**
+     * 娓犻亾鍒濊瘖鎴愪氦椤圭洰TOP3
+     */
+    @PostMapping("/admin/operational/channels/project/fisrt-deal")
+    Result channelsProjectFirstDeal(@RequestBody OperationalStatementsVo operationalStatementsVo);
+
+    /**
+     * 鍏捣閲婃斁浜烘暟
+     */
+    @PostMapping("/admin/operational/high-seas/release")
+    Result highSeasRelease(@RequestBody OperationalStatementsVo operationalStatementsVo);
+
+    /**
+     * 鍖荤敓鏍稿績椤圭洰鎵ц鎯呭喌
+     */
+    @PostMapping("/admin/operational/doctor/core/project")
+    Result doctorCoreProject(@RequestBody CoreProjectReportDto coreProjectReportDto);
+
+    /**
+     * RFM鏁版嵁鏌ョ湅
+     */
+    @PostMapping("/admin/operational/rfm/data/list")
+    Result rfmDataList(@RequestBody OperationalStatementsVo operationalStatementsVo);
+
+
+}
diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiOrderReportService.java b/phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiOrderReportService.java
new file mode 100644
index 0000000..35a0e5f
--- /dev/null
+++ b/phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiOrderReportService.java
@@ -0,0 +1,23 @@
+package com.hz.his.feign.service.platform.bi;
+
+import com.hx.resultTool.Result;
+import com.hz.his.dto.report.ReportReqVo;
+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-order-report")
+public interface BiOrderReportService {
+
+    /**
+     * 闂ㄨ瘖闂磋浆璇婅浆鐤楁姤琛�
+     */
+    @PostMapping("/admin/order/report/rorList")
+    Result referralOrderReportList(@RequestBody ReportReqVo reportReqVo);
+
+}
diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiShopCashService.java b/phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiShopCashService.java
new file mode 100644
index 0000000..f6f42ae
--- /dev/null
+++ b/phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiShopCashService.java
@@ -0,0 +1,25 @@
+package com.hz.his.feign.service.platform.bi;
+
+import com.hx.resultTool.Result;
+import com.hz.his.dto.report.ShopCashReportDto;
+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 闇�瑕佸~鍐� 璇锋眰鐨勬湇鍔℃彁渚涜�呯殑娉ㄥ唽鍒皀acos Server涓婇潰鐨勬湇鍔″悕锛宲ath 鏄姹傛帴鍙e墠缂�
+ */
+@FeignClient(name="phiskin-bi-view-user",path = "/bi-view",contextId = "bi-shop-cash")
+public interface BiShopCashService {
+
+    /**
+     * 闂ㄥ簵涓氱哗鎶ヨ〃
+     * ArriveShopVo
+     */
+    @PostMapping("/report/shop/cash/list")
+    Result shopList(@RequestBody ShopCashReportDto shopCashReportDto);
+
+}
diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiTmkPerfService.java b/phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiTmkPerfService.java
new file mode 100644
index 0000000..4b2f735
--- /dev/null
+++ b/phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiTmkPerfService.java
@@ -0,0 +1,37 @@
+package com.hz.his.feign.service.platform.bi;
+
+import com.hx.resultTool.Result;
+import com.hz.his.dto.report.PerformanceReqParamsDto;
+import com.hz.his.dto.report.TmkOrderPerfReqDto;
+import org.springframework.cloud.openfeign.FeignClient;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestBody;
+
+
+/**
+ * TMK(鐢电綉鍜ㄨ甯�)涓氱哗
+ * 杩欓噷杩欎釜name 闇�瑕佸~鍐� 璇锋眰鐨勬湇鍔℃彁渚涜�呯殑娉ㄥ唽鍒皀acos Server涓婇潰鐨勬湇鍔″悕锛宲ath 鏄姹傛帴鍙e墠缂�
+ */
+@FeignClient(name = "phiskin-bi-view-user", path = "/bi-view", contextId = "bi-tmk-perf")
+public interface BiTmkPerfService {
+
+    /**
+     * 璁㈠崟涓氱哗鏄庣粏鍒楄〃
+     */
+    @PostMapping("/admin/tmk/perf/orderPerfList")
+    Result orderPerfList(@RequestBody TmkOrderPerfReqDto tmkOrderPerfReqDto);
+
+    /**
+     * 鐢电綉涓氱哗姹囨��
+     */
+    @PostMapping("/admin/tmk/perf/summary/list")
+    Result list(@RequestBody TmkOrderPerfReqDto tmkOrderPerfReqDto);
+
+    /**
+     * 鐢电綉涓氱哗姹囨��-鎬昏
+     */
+    @PostMapping("/admin/tmk/perf/summary/sumData")
+    Result sumData(@RequestBody TmkOrderPerfReqDto tmkOrderPerfReqDto);
+
+
+}
diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiTransferService.java b/phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiTransferService.java
new file mode 100644
index 0000000..3a15bfd
--- /dev/null
+++ b/phis-feign/src/main/java/com/hz/his/feign/service/platform/bi/BiTransferService.java
@@ -0,0 +1,23 @@
+package com.hz.his.feign.service.platform.bi;
+
+import com.hx.resultTool.Result;
+import com.hz.his.dto.report.ReportReqVo;
+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-transfer-report")
+public interface BiTransferService {
+
+    /**
+     * 杞椤圭洰
+     */
+    @PostMapping("/admin/transfer/report/tpList")
+    Result transferProjectList(@RequestBody ReportReqVo reportReqVo);
+
+}

--
Gitblit v1.8.0