|
@@ -49,8 +49,11 @@ public class ClinicalFacade {
|
|
|
SearchVo sData = searchVo;
|
|
|
|
|
|
sData.setLisArr(processLis(sData.getLisArr()));
|
|
|
- List<String> otherVal=sData.getLisArr().stream().map(lisArr->lisArr.getOtherValue()).collect(Collectors.toList());
|
|
|
- sData.setLis(otherVal.toString());
|
|
|
+
|
|
|
+ if (ListUtil.isNotEmpty(sData.getLisArr())) {
|
|
|
+ List<String> otherVal = sData.getLisArr().stream().map(lisArr -> lisArr.getOtherValue()).collect(Collectors.toList());
|
|
|
+ sData.setLis(String.join(",", otherVal));
|
|
|
+ }
|
|
|
|
|
|
Response<ResponseData> res = aiServiceClient.bayesPageData(sData);
|
|
|
if (res == null || res.getData() == null) {
|