|
@@ -244,7 +244,7 @@ public class MedRetrievalFacade {
|
|
|
Map<String, String> dicTypeMap_back = EntityUtil.makeMapWithKeyValue(dicType_back, "name", "val");
|
|
|
List<DictionaryInfoDTO> dicTypeName_back = dictionaryFacade.getListByGroupType(13);
|
|
|
|
|
|
- //检索类型(多选):0-全部、1-诊断、2-药品、3-检验、5-检查、6-手术和操作、8-量表、9-护理
|
|
|
+ //检索类型(多选):0-全部、1-诊断、2-药品、3-检验、5-检查、6-手术和操作、8-量表、9-护理、12-症状
|
|
|
if (ListUtil.isEmpty(types)
|
|
|
|| (ListUtil.isNotEmpty(types) && types.contains(0))) {
|
|
|
staticKnowledgeIndexVO.getTypeIds().addAll(Arrays.asList(LexiconEnum.Disease.getKey(),
|
|
@@ -256,7 +256,8 @@ public class MedRetrievalFacade {
|
|
|
LexiconEnum.Operation.getKey(),
|
|
|
LexiconEnum.Scale.getKey(),
|
|
|
LexiconEnum.Nurse.getKey(),
|
|
|
- LexiconEnum.Law.getKey()));
|
|
|
+ LexiconEnum.Law.getKey(),
|
|
|
+ LexiconEnum.Symptom.getKey()));
|
|
|
} else {
|
|
|
if (types.contains(1)) {
|
|
|
staticKnowledgeIndexVO.getTypeIds().add(LexiconEnum.Disease.getKey());
|
|
@@ -284,6 +285,9 @@ public class MedRetrievalFacade {
|
|
|
if (types.contains(10)) {
|
|
|
staticKnowledgeIndexVO.getTypeIds().add(LexiconEnum.Law.getKey());
|
|
|
}
|
|
|
+ if (types.contains(12)) {
|
|
|
+ staticKnowledgeIndexVO.getTypeIds().add(LexiconEnum.Symptom.getKey());
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
List<StaticKnowledgeIndexDTO> retList = klConceptFacade.staticIndex(staticKnowledgeIndexVO);
|