|
@@ -51,9 +51,11 @@ public class ParamsDataProxy {
|
|
|
}
|
|
|
//给症状末尾添加诊断依据标准词
|
|
|
ApplicationCacheUtil.getKl_result_mapping_standword_map();
|
|
|
- LexemePath<Lexeme> featureData = util.participle(searchData.getSymptom());
|
|
|
- if (null != featureData) {
|
|
|
- addStandWord(featureData, ApplicationCacheUtil.kl_result_mapping_standword_map, searchData);
|
|
|
+ if (searchData.getSymptom() != null) {
|
|
|
+ LexemePath<Lexeme> featureData = util.participle(searchData.getSymptom());
|
|
|
+ if (featureData != null) {
|
|
|
+ addStandWord(featureData, ApplicationCacheUtil.kl_result_mapping_standword_map, searchData);
|
|
|
+ }
|
|
|
}
|
|
|
//所有信息参与推送
|
|
|
searchData.setSymptom(searchData.getSymptom() + searchData.getVital()
|