|
@@ -1,14 +1,5 @@
|
|
|
package com.diagbot.client.hystrix;
|
|
|
|
|
|
-import java.util.List;
|
|
|
-import java.util.Map;
|
|
|
-
|
|
|
-import javax.validation.Valid;
|
|
|
-
|
|
|
-import org.springframework.stereotype.Component;
|
|
|
-import org.springframework.web.bind.annotation.RequestBody;
|
|
|
-import org.springframework.web.bind.annotation.RequestParam;
|
|
|
-
|
|
|
import com.diagbot.client.AiptServiceClient;
|
|
|
import com.diagbot.client.bean.CalculateData;
|
|
|
import com.diagbot.client.bean.GdbResponse;
|
|
@@ -34,8 +25,14 @@ import com.diagbot.vo.EvaluationdiseaseNameVO;
|
|
|
import com.diagbot.vo.GetDiseaseIcdVO;
|
|
|
import com.diagbot.vo.GetTopPatientInfoVO;
|
|
|
import com.diagbot.vo.IndexConfigdiseaseNameVO;
|
|
|
-
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
+import org.springframework.stereotype.Component;
|
|
|
+import org.springframework.web.bind.annotation.RequestBody;
|
|
|
+import org.springframework.web.bind.annotation.RequestParam;
|
|
|
+
|
|
|
+import javax.validation.Valid;
|
|
|
+import java.util.List;
|
|
|
+import java.util.Map;
|
|
|
|
|
|
/**
|
|
|
* @Description:调用中间层服务
|
|
@@ -128,17 +125,18 @@ public class AiptServiceHystrix implements AiptServiceClient {
|
|
|
log.error("【hystrix】调用{}异常", "getTopPatientInfo");
|
|
|
return null;
|
|
|
}
|
|
|
+
|
|
|
@Override
|
|
|
- public RespDTO<List<EvaluationDTO>> getEvaluationModules(@Valid EvaluationdiseaseNameVO evaluationdiseaseNameVO) {
|
|
|
- log.error("【hystrix】调用{}异常", "getEvaluationModules");
|
|
|
- return null;
|
|
|
- }
|
|
|
+ public RespDTO<List<EvaluationDTO>> getEvaluationModules(@Valid EvaluationdiseaseNameVO evaluationdiseaseNameVO) {
|
|
|
+ log.error("【hystrix】调用{}异常", "getEvaluationModules");
|
|
|
+ return null;
|
|
|
+ }
|
|
|
|
|
|
- @Override
|
|
|
- public RespDTO<List<IndexConfigDTO>> getindexConfigs(IndexConfigdiseaseNameVO indexConfigdiseaseNameVO) {
|
|
|
- log.error("【hystrix】调用{}异常", "getindexConfigs");
|
|
|
- return null;
|
|
|
- }
|
|
|
+ @Override
|
|
|
+ public RespDTO<List<IndexConfigDTO>> getindexConfigs(IndexConfigdiseaseNameVO indexConfigdiseaseNameVO) {
|
|
|
+ log.error("【hystrix】调用{}异常", "getindexConfigs");
|
|
|
+ return null;
|
|
|
+ }
|
|
|
|
|
|
/**
|
|
|
* 根据名称和词性获取概念Map
|
|
@@ -147,7 +145,7 @@ public class AiptServiceHystrix implements AiptServiceClient {
|
|
|
* @return 术语和术语id Map
|
|
|
*/
|
|
|
@Override
|
|
|
- public RespDTO<Map<String, Long>> getConceptMap(@RequestBody ConceptSearchVO conceptSearchVO){
|
|
|
+ public RespDTO<Map<String, Long>> getConceptMap(@RequestBody ConceptSearchVO conceptSearchVO) {
|
|
|
log.error("【hystrix】调用{}异常", "getConceptMap");
|
|
|
return null;
|
|
|
}
|