|
@@ -68,7 +68,7 @@ public class ClinicalFacade {
|
|
|
SearchVo sData = searchVo;
|
|
|
Map<String, List<Map<String, String>>> standWord = getStandWord();
|
|
|
Response<List<Lexeme>> resp = nlpServiceClient.split(sData.getSymptom());
|
|
|
- addStandWord(resp.getData(), standWord, searchVo);
|
|
|
+ addStandWord(resp.getData(), standWord, sData);
|
|
|
|
|
|
sData.setLisArr(processLis(sData.getLisArr()));
|
|
|
|
|
@@ -207,7 +207,7 @@ public class ClinicalFacade {
|
|
|
featureType.add(feature.get(i).getText() + "\t" + feature.get(i + 1).getText());
|
|
|
}
|
|
|
} catch (NumberFormatException e) {
|
|
|
-// e.printStackTrace();
|
|
|
+ e.printStackTrace();
|
|
|
System.out.println(e.getMessage() + "不是标准数字");
|
|
|
}
|
|
|
}
|
|
@@ -221,7 +221,7 @@ public class ClinicalFacade {
|
|
|
+ feature.get(i + 2).getText());
|
|
|
}
|
|
|
} catch (NumberFormatException e) {
|
|
|
-// e.printStackTrace();
|
|
|
+ e.printStackTrace();
|
|
|
System.out.println(e.getMessage()+ "不是标准数字");
|
|
|
}
|
|
|
}
|
|
@@ -330,7 +330,7 @@ public class ClinicalFacade {
|
|
|
}
|
|
|
}
|
|
|
} catch (NumberFormatException e) {
|
|
|
-// e.printStackTrace();
|
|
|
+ e.printStackTrace();
|
|
|
System.out.println(e.getMessage()+ "不是标准数字");
|
|
|
}
|
|
|
return sb.toString();
|