|
@@ -3,7 +3,6 @@ package com.diagbot.facade;
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
import com.diagbot.client.bean.ResponseData;
|
|
|
import com.diagbot.client.bean.Treat;
|
|
|
-import com.diagbot.dto.LisResult;
|
|
|
import com.diagbot.dto.PushDTO;
|
|
|
import com.diagbot.enums.FeatureTypeEnum;
|
|
|
import com.diagbot.enums.SysTypeEnum;
|
|
@@ -106,7 +105,6 @@ public class PushFacade {
|
|
|
* @return
|
|
|
*/
|
|
|
public Treat getTreatment(SearchVo searchVo) {
|
|
|
- public Map<String, Object> getTreatment(SearchVo searchVo) {
|
|
|
//记录外部诊断名称
|
|
|
String diseaseName = searchVo.getDiseaseName();
|
|
|
//是否对接
|
|
@@ -119,14 +117,12 @@ public class PushFacade {
|
|
|
throw new CommonException(CommonErrorCode.PARAM_ERROR, "请输入需获取治疗方案的诊断名称");
|
|
|
}
|
|
|
treat = treatmentFacade.getTreatment(treat, searchVo.getDiseaseName(), searchVo.getDisType());
|
|
|
- return treat;
|
|
|
- Map<String, Object> treatmentMap
|
|
|
- = treatmentFacade.getTreatment(treat, searchVo.getDiseaseName(), searchVo.getDisType());
|
|
|
+
|
|
|
//数据引擎模式下,诊断名称转换成外部名称
|
|
|
if (isConnect && searchVo.getSysType().equals(SysTypeEnum.LTAPI_SERVICE.getKey())) {
|
|
|
- treatmentMap.put("diseaseName", diseaseName);
|
|
|
+ treat.setDiseaseName(diseaseName);
|
|
|
}
|
|
|
- return treatmentMap;
|
|
|
+ return treat;
|
|
|
}
|
|
|
|
|
|
/**
|