From 0dd6ab21553b131575d0017971f0dd3bf7cd39ae Mon Sep 17 00:00:00 2001
From: wangrenhuang <wangren_huang@163.com>
Date: 星期二, 23 八月 2022 00:40:44 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 phis-feign/src/main/java/com/hz/his/dto/employee/EmployeeRoleDto.java                |   24 ++++++++++++
 phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipEmployeeService.java |   21 ++++++++++
 phis-feign/src/main/java/com/hz/his/constant/PhisRoleType.java                       |   39 +++++++++++++++++++
 3 files changed, 84 insertions(+), 0 deletions(-)

diff --git a/phis-feign/src/main/java/com/hz/his/constant/PhisRoleType.java b/phis-feign/src/main/java/com/hz/his/constant/PhisRoleType.java
new file mode 100644
index 0000000..7003d83
--- /dev/null
+++ b/phis-feign/src/main/java/com/hz/his/constant/PhisRoleType.java
@@ -0,0 +1,39 @@
+package com.hz.his.constant;
+
+/**
+ * @author wzh
+ */
+public class PhisRoleType {
+
+    /**瑙掕壊-椤鹃棶缁勯暱*/
+    public static final String UNIQUE_STR_ADVISER_LEADER = "adviser_leader";
+    /**瑙掕壊-椤鹃棶鍔╃悊*/
+    public static final String UNIQUE_STR_ADVISER_ASSISTANT = "adviser_assistant";
+    /**瑙掕壊-MIC*/
+    public static final String UNIQUE_STR_MIC = "mic";
+    /**瑙掕壊-鍖荤敓*/
+    public static final String UNIQUE_STR_DOCTOR = "doctor";
+    /**瑙掕壊-鎶ゅ+*/
+    public static final String UNIQUE_STR_NURSE = "nurse";
+    /**瑙掕壊-鍓嶅彴*/
+    public static final String UNIQUE_STR_RECEPTION = "reception";
+    /**瑙掕壊-搴楅暱*/
+    public static final String UNIQUE_STR_SHOPOWNER = "shopowner";
+    /**瑙掕壊-鎶ゅ+鍔╃悊*/
+    public static final String UNIQUE_STR_NURSE_ASSISTANT = "nurse_assistant";
+    /**瑙掕壊-鍖荤敓鍔╃悊*/
+    public static final String UNIQUE_STR_DOCTOR_ASSISTANT = "doctor_assistant";
+    /**瑙掕壊-TMK椤鹃棶*/
+    public static final String UNIQUE_STR_TMK_ADVISER = "tmk_adviser";
+    /**瑙掕壊-SBU鎬荤洃*/
+    public static final String UNIQUE_STR_SBU_DIRECTOR = "sbu_director";
+    /**瑙掕壊-CEO*/
+    public static final String UNIQUE_STR_CEO = "ceo";
+    /**瑙掕壊-CHO*/
+    public static final String UNIQUE_STR_CHO = "cho";
+    /**瑙掕壊-绯荤粺缁存姢鍛�*/
+    public static final String UNIQUE_STR_ADMIN = "admin";
+    /**瑙掕壊-杩愯惀搴楅暱*/
+    public static final String OPERATIONS_MANAGER = "operations_manager";
+
+}
diff --git a/phis-feign/src/main/java/com/hz/his/dto/employee/EmployeeRoleDto.java b/phis-feign/src/main/java/com/hz/his/dto/employee/EmployeeRoleDto.java
new file mode 100644
index 0000000..471445d
--- /dev/null
+++ b/phis-feign/src/main/java/com/hz/his/dto/employee/EmployeeRoleDto.java
@@ -0,0 +1,24 @@
+package com.hz.his.dto.employee;
+
+import com.hz.his.dto.PageDto;
+import lombok.Data;
+
+/**
+ * @author fwq
+ * 鍛樺伐鎵╁睍
+ * */
+@Data
+public class EmployeeRoleDto extends PageDto {
+    /**鍛樺伐鏍囪瘑*/
+    private String preId;
+    /**鍛樺伐浼佷笟userId*/
+    private String userId;
+    /**瑙掕壊鍞竴瀛楃涓�*/
+    private String uniqueStr;
+    /**棰勭害闂ㄥ簵鏍囪瘑*/
+    private String shopId;
+    /**瑙掕壊鍏宠仈鏍囪瘑*/
+    private String  roleId;
+    /**瑙掕壊琛ㄦ爣璇�*/
+    private String  roleTypeId;
+}
diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipEmployeeService.java b/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipEmployeeService.java
new file mode 100644
index 0000000..143e947
--- /dev/null
+++ b/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipEmployeeService.java
@@ -0,0 +1,21 @@
+package com.hz.his.feign.service.platform;
+
+import com.hx.resultTool.Result;
+import com.hz.his.dto.employee.EmployeeRoleDto;
+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="phi-platform-service",path = "/phip",contextId = "phip-employee")
+public interface SPhipEmployeeService {
+
+    /**
+     * 寮�鏀惧钩鍙�-浼樻儬鍒稿垪琛�(鍚寚瀹�)
+     */
+    @PostMapping(value = "/employee/role/list")
+    Result getEmployeeRoleList(@RequestBody EmployeeRoleDto employeeRoleDto);
+
+}
\ No newline at end of file

--
Gitblit v1.8.0