Browse Source

1、静态知识检索

zhaops 3 years ago
parent
commit
0075864696

+ 5 - 5
src/main/java/com/diagbot/facade/KlConceptStaticFacade.java

@@ -311,7 +311,7 @@ public class KlConceptStaticFacade extends KlConceptStaticServiceImpl {
         Integer type = convertType(klConceptStaticPageVO.getType(), 1);
         klConceptStaticPageVO.setType(type);
 
-        List<DictionaryInfoDTO> dicTypeName = klDictionaryInfoFacade.getListByGroupType(13);
+        List<DictionaryInfoDTO> dicTypeName = dictionaryFacade.getListByGroupType(13);
         Map<String, String> dicTypeNameMap
                 = EntityUtil.makeMapWithKeyValue(dicTypeName, "val", "name");
 
@@ -367,7 +367,7 @@ public class KlConceptStaticFacade extends KlConceptStaticServiceImpl {
 
         List<DictionaryInfoDTO> dicType = dictionaryFacade.getListByGroupType(10);
         Map<String, String> dicTypeMap = EntityUtil.makeMapWithKeyValue(dicType, "name", "val");
-        List<DictionaryInfoDTO> dicTypeName = dictionaryFacade.getListByGroupType(13);
+        List<DictionaryInfoDTO> dicTypeName = klDictionaryInfoFacade.getListByGroupType(13);
 
         //检索类型(多选):0-全部、1-诊断、2-药品、3-检验、4-检查、5-手术和操作
         if (ListUtil.isEmpty(types)
@@ -586,7 +586,7 @@ public class KlConceptStaticFacade extends KlConceptStaticServiceImpl {
     public KlConceptStaticDTO getRecordById(IdVO idVO) {
         KlConceptStaticDTO klConceptStaticDTO = new KlConceptStaticDTO();
 
-        List<DictionaryInfoDTO> dicTypeName = klDictionaryInfoFacade.getListByGroupType(13);
+        List<DictionaryInfoDTO> dicTypeName = dictionaryFacade.getListByGroupType(13);
         Map<String, String> dicTypeNameMap
                 = EntityUtil.makeMapWithKeyValue(dicTypeName, "val", "name");
 
@@ -767,7 +767,7 @@ public class KlConceptStaticFacade extends KlConceptStaticServiceImpl {
      */
     public Map<String, List<ConceptDetailDTO>> getDetailByConcept(GetDetailVO getDetailVO) {
         Map<String, List<ConceptDetailDTO>> retMap = new HashMap<>();
-        List<DictionaryInfoDTO> dicTypeName = klDictionaryInfoFacade.getListByGroupType(13);
+        List<DictionaryInfoDTO> dicTypeName = dictionaryFacade.getListByGroupType(13);
         Map<String, String> dicTypeNameMap
                 = EntityUtil.makeMapWithKeyValue(dicTypeName, "val", "name");
 
@@ -829,7 +829,7 @@ public class KlConceptStaticFacade extends KlConceptStaticServiceImpl {
      */
     public Map<String, ConceptScaleDTO> getScaleDetailByConcept(GetDetailVO getDetailVO) {
         Map<String, ConceptScaleDTO> retMap = new HashMap<>();
-        List<DictionaryInfoDTO> dicTypeName = klDictionaryInfoFacade.getListByGroupType(13);
+        List<DictionaryInfoDTO> dicTypeName = dictionaryFacade.getListByGroupType(13);
         Map<String, String> dicTypeNameMap
                 = EntityUtil.makeMapWithKeyValue(dicTypeName, "val", "name");
 

+ 3 - 1
src/main/java/com/diagbot/facade/MedRetrievalFacade.java

@@ -37,6 +37,8 @@ public class MedRetrievalFacade {
     private KlConceptFacade klConceptFacade;
     @Autowired
     private DictionaryFacade dictionaryFacade;
+    @Autowired
+    private KlDictionaryInfoFacade klDictionaryInfoFacade;
 
     /**
      * 检索
@@ -242,7 +244,7 @@ public class MedRetrievalFacade {
 
         List<DictionaryInfoDTO> dicType = dictionaryFacade.getListByGroupType(10);
         Map<String, String> dicTypeMap = EntityUtil.makeMapWithKeyValue(dicType, "name", "val");
-        List<DictionaryInfoDTO> dicTypeName = dictionaryFacade.getListByGroupType(13);
+        List<DictionaryInfoDTO> dicTypeName = klDictionaryInfoFacade.getListByGroupType(13);
 
         //检索类型(多选):0-全部、1-诊断、2-药品、3-检验、5-检查、6-手术和操作、8-量表、9-护理
         if (ListUtil.isEmpty(types)