From 53c2cdce5cf04aba76d09fea115cf9cc00ce583b Mon Sep 17 00:00:00 2001
From: liyuqian <201963020@qq.com>
Date: 星期三, 13 七月 2022 18:54:05 +0800
Subject: [PATCH] 标签

---
 phis-feign/src/main/java/com/hz/his/feign/service/SLabelService.java |   31 +++++++++++++++++++++++++++++++
 phis-feign/src/main/java/com/hz/phis/dt/label/LabelTypePageDt.java   |   11 +++++++++++
 2 files changed, 42 insertions(+), 0 deletions(-)

diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/SLabelService.java b/phis-feign/src/main/java/com/hz/his/feign/service/SLabelService.java
new file mode 100644
index 0000000..adae889
--- /dev/null
+++ b/phis-feign/src/main/java/com/hz/his/feign/service/SLabelService.java
@@ -0,0 +1,31 @@
+package com.hz.his.feign.service;
+
+import com.hx.resultTool.Result;
+import com.hz.his.dto.PageDto;
+import com.hz.phis.dt.label.LabelTypePageDt;
+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="phis-provider",path = "/p-his-data",contextId = "label")
+public interface SLabelService {
+
+
+    /**
+     * 鑾峰彇鏍囩鍒嗙被鍒楄〃
+     * @return Result
+     */
+    @PostMapping(value = "/label/type/list")
+    Result getLabelTypeList(@RequestBody(required = false) LabelTypePageDt pageDt);
+
+    /**
+     * 鑾峰彇鏍囩鍒嗙被鍒楄〃
+     * @return Result
+     */
+    @PostMapping(value = "/label/info/list")
+    Result getLabelInfoList(@RequestBody(required = false)PageDto pageDto);
+
+}
diff --git a/phis-feign/src/main/java/com/hz/phis/dt/label/LabelTypePageDt.java b/phis-feign/src/main/java/com/hz/phis/dt/label/LabelTypePageDt.java
new file mode 100644
index 0000000..6ad9d12
--- /dev/null
+++ b/phis-feign/src/main/java/com/hz/phis/dt/label/LabelTypePageDt.java
@@ -0,0 +1,11 @@
+package com.hz.phis.dt.label;
+
+import com.hz.his.dto.PageDto;
+import lombok.Data;
+
+@Data
+public class LabelTypePageDt extends PageDto {
+
+    /**绾у埆 0涓�绾� 1浜岀骇*/
+    private Integer level;
+}

--
Gitblit v1.8.0