Bladeren bron

解决质检表上大量节点质量证明附件显示不全的问题

lvy 2 dagen geleden
bovenliggende
commit
3d37f24794

+ 1 - 1
blade-service/blade-manager/src/main/java/org/springblade/manager/service/impl/FormulaServiceImpl.java

@@ -240,7 +240,7 @@ public class FormulaServiceImpl extends BaseServiceImpl<FormulaMapper, Formula>
             tec.constantMap.put(TABLE_LIST, tableList);
 
             /*监表质量附件,过滤掉隐藏表格*/
-            tec.constantMap.put("tableNames", tableList.stream().filter(e -> StringUtils.isEquals(e.getIsBussShow(), 1) && StringUtils.isNotEquals(e.getTableType(), 4)).map(WbsTreeContract::getNodeName).collect(Collectors.toList()));
+            tec.constantMap.put("tableNames", tableList.stream().filter(e -> (e.getIsBussShow() == null || StringUtils.isEquals(e.getIsBussShow(), 1)) && StringUtils.isNotEquals(e.getTableType(), 4)).map(WbsTreeContract::getNodeName).collect(Collectors.toList()));
 
         }
     }