Browse Source

获取模板bug修复

wangyu 6 years ago
parent
commit
667b016164
1 changed files with 4 additions and 4 deletions
  1. 4 4
      icss-service/src/main/java/com/diagbot/facade/ModuleFacade.java

+ 4 - 4
icss-service/src/main/java/com/diagbot/facade/ModuleFacade.java

@@ -60,13 +60,13 @@ public class ModuleFacade extends ModuleInfoServiceImpl {
         } else if (moduleVO.getMouduleType().intValue() == 2) {
             //根据慢病筛选如果没有返回通用模板
             list = getModuleInfoByDisType(moduleVO.getMouduleType(), moduleVO.getRelationId());
-            if (ListUtil.isNotEmpty(list)) {
+            //if (ListUtil.isNotEmpty(list)) {
                 ids = list.stream()
                         .map(moduleDeptMapping -> moduleDeptMapping.getId())
                         .collect(Collectors.toList());
-            } else {
-                isDefault = true;
-            }
+            //} else {
+                //isDefault = true;
+            //}
         } else {
             isDefault = true;
         }