|
@@ -3,8 +3,11 @@ package com.diagbot.client;
|
|
import com.diagbot.client.hystrix.KnowledgemanServiceHystrix;
|
|
import com.diagbot.client.hystrix.KnowledgemanServiceHystrix;
|
|
import com.diagbot.dto.ConceptBaseDTO;
|
|
import com.diagbot.dto.ConceptBaseDTO;
|
|
import com.diagbot.dto.RespDTO;
|
|
import com.diagbot.dto.RespDTO;
|
|
|
|
+import com.diagbot.vo.ConceptExistVO;
|
|
import com.diagbot.vo.ConceptSearchVO;
|
|
import com.diagbot.vo.ConceptSearchVO;
|
|
import com.diagbot.vo.ConceptTypeVO;
|
|
import com.diagbot.vo.ConceptTypeVO;
|
|
|
|
+import com.diagbot.vo.IndexLexiconVO;
|
|
|
|
+import com.diagbot.vo.IndexVO;
|
|
import org.springframework.cloud.openfeign.FeignClient;
|
|
import org.springframework.cloud.openfeign.FeignClient;
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
@@ -20,14 +23,14 @@ import java.util.Map;
|
|
@FeignClient(value = "knowledgeman-service", fallback = KnowledgemanServiceHystrix.class)
|
|
@FeignClient(value = "knowledgeman-service", fallback = KnowledgemanServiceHystrix.class)
|
|
public interface KnowledgemanServiceClient {
|
|
public interface KnowledgemanServiceClient {
|
|
|
|
|
|
-// @PostMapping("/commonconcept/index")
|
|
|
|
-// RespDTO<List<ConceptBaseDTO>> index(@RequestBody IndexVO indexVO);
|
|
|
|
-//
|
|
|
|
-// @PostMapping("/commonconcept/indexByLexicon")
|
|
|
|
-// RespDTO<List<ConceptBaseDTO>> indexByLexiconFac(@RequestBody IndexLexiconVO indexLexiconVO);
|
|
|
|
-//
|
|
|
|
-// @PostMapping("/commonconcept/getConceptMapByNameAndType")
|
|
|
|
-// RespDTO<Map<String, List<Integer>>> getConceptMap(@RequestBody ConceptExistVO conceptExistVO);
|
|
|
|
|
|
+ @PostMapping("/commonconcept/index")
|
|
|
|
+ RespDTO<List<ConceptBaseDTO>> index(@RequestBody IndexVO indexVO);
|
|
|
|
+
|
|
|
|
+ @PostMapping("/commonconcept/indexByLexicon")
|
|
|
|
+ RespDTO<List<ConceptBaseDTO>> indexByLexiconFac(@RequestBody IndexLexiconVO indexLexiconVO);
|
|
|
|
+
|
|
|
|
+ @PostMapping("/commonconcept/getConceptMapByNameAndType")
|
|
|
|
+ RespDTO<Map<String, List<Integer>>> getConceptMap(@RequestBody ConceptExistVO conceptExistVO);
|
|
|
|
|
|
/**
|
|
/**
|
|
* 根据概念Id列表获取概念列表Map
|
|
* 根据概念Id列表获取概念列表Map
|