phis-feign/src/main/java/com/hz/his/feign/service/phis/SLabelService.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
phis-feign/src/main/java/com/hz/his/vo/label/LabelFindVo.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
phis-feign/src/main/java/com/hz/his/vo/label/LabelTypeVo.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
phis-feign/src/main/java/com/hz/his/vo/label/LabelVo.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
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); } phis-feign/src/main/java/com/hz/his/vo/label/LabelFindVo.java
New file @@ -0,0 +1,14 @@ package com.hz.his.vo.label; import lombok.Data; /** * @author CJH */ @Data public class LabelFindVo { /**范围标识*/ private String rangeCode; } phis-feign/src/main/java/com/hz/his/vo/label/LabelTypeVo.java
New file @@ -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; } } phis-feign/src/main/java/com/hz/his/vo/label/LabelVo.java
New file @@ -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; } }