瀏覽代碼

二期模板维护,获取类型慢病过滤主诉和现病史空模板

wangyu 6 年之前
父節點
當前提交
fe2d8ae671
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      icssman-service/src/main/java/com/diagbot/facade/ModuleInfoFacade.java

+ 3 - 0
icssman-service/src/main/java/com/diagbot/facade/ModuleInfoFacade.java

@@ -428,6 +428,9 @@ public class ModuleInfoFacade extends ModuleInfoServiceImpl {
         if(getModuleTypeVO.getRelationId() != null && getModuleTypeVO.getRelationId().intValue() == -1){//如果是-1时返回所有子模板
             dictionaryInfoQueryWrapper.in("val","322","31","32");
         }
+        if(getModuleTypeVO.getModuleType() != null && getModuleTypeVO.getModuleType().intValue() == 2){
+            dictionaryInfoQueryWrapper.notIn("val","1","22");
+        }
         List<DictionaryInfo> dictionaryInfoList = dictionaryFacade.list(dictionaryInfoQueryWrapper);
         List<GetModuleTypeDTO> getModuleTypeDTOS = new ArrayList<>();
         for (DictionaryInfo dictionaryInfo: dictionaryInfoList) {