|
@@ -5,7 +5,6 @@ import com.alibaba.fastjson.JSONObject;
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
|
import com.diagbot.client.AiptServiceClient;
|
|
|
import com.diagbot.client.TranServiceClient;
|
|
|
-import com.diagbot.client.bean.CalcResult;
|
|
|
import com.diagbot.client.bean.FeatureRate;
|
|
|
import com.diagbot.client.bean.GdbResponse;
|
|
|
import com.diagbot.client.bean.MedicalIndication;
|
|
@@ -172,7 +171,8 @@ public class PushFacade {
|
|
|
public Map<String, Object> scale(SearchData searchData) {
|
|
|
Response<Map<String, Object>> res = aiptServiceClient.scale(searchData);
|
|
|
if (null == res || null == res.getData()) {
|
|
|
- throw new CommonException(CommonErrorCode.SERVER_IS_ERROR, "中间层没有返回结果");
|
|
|
+// throw new CommonException(CommonErrorCode.SERVER_IS_ERROR, "中间层没有返回结果");
|
|
|
+ return new HashMap<String, Object>();
|
|
|
}
|
|
|
return res.getData();
|
|
|
}
|