|
@@ -4,9 +4,13 @@ import com.diagbot.client.KnowledgemanServiceClient;
|
|
|
import com.diagbot.dto.ConceptBaseDTO;
|
|
|
import com.diagbot.dto.RespDTO;
|
|
|
import com.diagbot.vo.ConceptExistVO;
|
|
|
+import com.diagbot.vo.ConceptSearchVO;
|
|
|
+import com.diagbot.vo.ConceptTypeVO;
|
|
|
import com.diagbot.vo.IndexVO;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.stereotype.Component;
|
|
|
+import org.springframework.web.bind.annotation.PostMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestBody;
|
|
|
|
|
|
import java.util.List;
|
|
|
import java.util.Map;
|
|
@@ -31,4 +35,28 @@ public class KnowledgemanServiceHystrix implements KnowledgemanServiceClient {
|
|
|
log.error("【hystrix】调用{}异常", "getConceptMap");
|
|
|
return null;
|
|
|
}
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 根据概念Id列表获取概念列表Map
|
|
|
+ *
|
|
|
+ * @param conceptSearchVO 搜索参数
|
|
|
+ * @return 术语id和术语 Map
|
|
|
+ */
|
|
|
+ @Override
|
|
|
+ public RespDTO<Map<Long, String>> getConceptMap(@RequestBody ConceptSearchVO conceptSearchVO) {
|
|
|
+ log.error("【hystrix】调用{}异常", "getConceptMap");
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 根据类型获取术语列表(科室、辅检、慢病)
|
|
|
+ *
|
|
|
+ * @param conceptTypeVO 类型
|
|
|
+ * @return 术语列表
|
|
|
+ */
|
|
|
+ public RespDTO<List<ConceptBaseDTO>> getConceptListByType(@RequestBody ConceptTypeVO conceptTypeVO){
|
|
|
+ log.error("【hystrix】调用{}异常", "getConceptListByType");
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+
|
|
|
}
|