Forráskód Böngészése

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

lvy 16 órája
szülő
commit
08c425f459

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

@@ -241,7 +241,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()));
 
         }
     }