|
@@ -105,10 +105,15 @@ public class AIFacade {
|
|
|
items.add(item);
|
|
|
}
|
|
|
}
|
|
|
+ if (ListUtil.isEmpty(items)){
|
|
|
+ item = new FeatureRate();
|
|
|
+ item.setExtraProperty(res.getData().getDis().get(0).getExtraProperty());
|
|
|
+ items.add(item);
|
|
|
+ }
|
|
|
}
|
|
|
- if (ListUtil.isEmpty(items)){
|
|
|
- throw new CommonException(CommonErrorCode.PARAM_IS_ERROR, "暂时无法推理出结果");
|
|
|
- }
|
|
|
+// if (ListUtil.isEmpty(items)){
|
|
|
+// throw new CommonException(CommonErrorCode.PARAM_IS_ERROR, "暂时无法推理出结果");
|
|
|
+// }
|
|
|
aidto.setItems(items);
|
|
|
break;
|
|
|
}
|