浏览代码

bug修正

wangyu 6 年之前
父节点
当前提交
db2abcb14f
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      icssman-service/src/main/java/com/diagbot/facade/ModuleInfoFacade.java

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

@@ -431,8 +431,8 @@ public class ModuleInfoFacade extends ModuleInfoServiceImpl {
         if(getModuleTypeVO.getModuleType() != null && getModuleTypeVO.getModuleType().intValue() == 2){//为慢病时过滤现病史空模板、主诉模板、现病史空模板子模板
             dictionaryInfoQueryWrapper.notIn("val","1","22","31","322");
         }
-        if(getModuleTypeVO.getModuleType() != null && getModuleTypeVO.getModuleType().intValue() == 0 && getModuleTypeVO.getModuleType().intValue() == 1){//为通用或科室时过滤化验附件诊断
-            dictionaryInfoQueryWrapper.notIn("val","5","6","7");
+        if(getModuleTypeVO.getModuleType() != null && getModuleTypeVO.getModuleType().intValue() == 0 || getModuleTypeVO.getModuleType() != null && getModuleTypeVO.getModuleType().intValue() == 1){//为通用或科室时过滤化验附件诊断
+            dictionaryInfoQueryWrapper.notIn("val","4","5","6","7");
         }
         List<DictionaryInfo> dictionaryInfoList = dictionaryFacade.list(dictionaryInfoQueryWrapper);
         List<GetModuleTypeDTO> getModuleTypeDTOS = new ArrayList<>();