From a8ccd0eb5591990bf8ef66bf9e3256e6aa4bcfbe Mon Sep 17 00:00:00 2001
From: chenjiahe <763432473@qq.com>
Date: 星期五, 15 三月 2024 18:29:13 +0800
Subject: [PATCH] 新增标签获取

---
 phis-feign/src/main/java/com/hz/his/vo/label/LabelFindVo.java             |   14 +++++++
 phis-feign/src/main/java/com/hz/his/vo/label/LabelTypeVo.java             |   32 ++++++++++++++++
 phis-feign/src/main/java/com/hz/his/vo/label/LabelVo.java                 |   26 +++++++++++++
 phis-feign/src/main/java/com/hz/his/feign/service/phis/SLabelService.java |   10 +++++
 4 files changed, 82 insertions(+), 0 deletions(-)

diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/phis/SLabelService.java b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SLabelService.java
index c48d119..98ef5c6 100644
--- a/phis-feign/src/main/java/com/hz/his/feign/service/phis/SLabelService.java
+++ b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SLabelService.java
@@ -3,6 +3,7 @@
 import com.hx.resultTool.Result;
 import com.hz.his.dto.PageDto;
 import com.hz.his.dto.label.LabelTypePageDto;
+import com.hz.his.vo.label.LabelFindVo;
 import org.springframework.cloud.openfeign.FeignClient;
 import org.springframework.web.bind.annotation.PostMapping;
 import org.springframework.web.bind.annotation.RequestBody;
@@ -28,4 +29,13 @@
     @PostMapping(value = "/label/info/list")
     Result getLabelInfoList(@RequestBody(required = false)PageDto pageDto);
 
+
+    /**
+     * 鑾峰彇鏍囩鍒嗙被鏍戠姸鍚爣绛�
+     * @return Result
+     */
+    @PostMapping(value = "/label/type/tree/by-label")
+    Result getLabelTypeTreeByLabel(@RequestBody LabelFindVo labelFindVo);
+
+
 }
diff --git a/phis-feign/src/main/java/com/hz/his/vo/label/LabelFindVo.java b/phis-feign/src/main/java/com/hz/his/vo/label/LabelFindVo.java
new file mode 100644
index 0000000..1cc0769
--- /dev/null
+++ b/phis-feign/src/main/java/com/hz/his/vo/label/LabelFindVo.java
@@ -0,0 +1,14 @@
+package com.hz.his.vo.label;
+
+import lombok.Data;
+
+/**
+ * @author CJH
+ */
+@Data
+public class LabelFindVo {
+
+    /**鑼冨洿鏍囪瘑*/
+    private String rangeCode;
+
+}
diff --git a/phis-feign/src/main/java/com/hz/his/vo/label/LabelTypeVo.java b/phis-feign/src/main/java/com/hz/his/vo/label/LabelTypeVo.java
new file mode 100644
index 0000000..cef6ca0
--- /dev/null
+++ b/phis-feign/src/main/java/com/hz/his/vo/label/LabelTypeVo.java
@@ -0,0 +1,32 @@
+package com.hz.his.vo.label;
+
+import lombok.Data;
+
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ * @author CJH
+ */
+@Data
+public class LabelTypeVo {
+
+    /**鏍囩鍒嗙被鏍囪瘑*/
+    private String id;
+    /**鏍囩鍒嗙被鍚嶇О*/
+    private String name;
+
+    /**鏍囩闆嗗悎*/
+    private List<LabelVo> labelList;
+    /**瀛愮被*/
+    private List<LabelTypeVo> childList = new ArrayList<>();
+
+
+    public LabelTypeVo() {
+    }
+
+    public LabelTypeVo(String id, String name) {
+        this.id = id;
+        this.name = name;
+    }
+}
diff --git a/phis-feign/src/main/java/com/hz/his/vo/label/LabelVo.java b/phis-feign/src/main/java/com/hz/his/vo/label/LabelVo.java
new file mode 100644
index 0000000..1ed9883
--- /dev/null
+++ b/phis-feign/src/main/java/com/hz/his/vo/label/LabelVo.java
@@ -0,0 +1,26 @@
+package com.hz.his.vo.label;
+
+import lombok.Data;
+
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ * @author CJH
+ */
+@Data
+public class LabelVo {
+
+    /**鏍囩鏍囪瘑*/
+    private String id;
+    /**鏍囩鍚嶇О*/
+    private String name;
+
+    public LabelVo() {
+    }
+
+    public LabelVo(String id, String name) {
+        this.id = id;
+        this.name = name;
+    }
+}

--
Gitblit v1.8.0