diff --git a/bonus-modules/bonus-material-mall/src/main/java/com/bonus/material/home/service/impl/MaTypeInfoServiceImpl.java b/bonus-modules/bonus-material-mall/src/main/java/com/bonus/material/home/service/impl/MaTypeInfoServiceImpl.java index 83aa669..89b8488 100644 --- a/bonus-modules/bonus-material-mall/src/main/java/com/bonus/material/home/service/impl/MaTypeInfoServiceImpl.java +++ b/bonus-modules/bonus-material-mall/src/main/java/com/bonus/material/home/service/impl/MaTypeInfoServiceImpl.java @@ -50,7 +50,6 @@ public class MaTypeInfoServiceImpl implements MaTypeInfoSevice { // 计算4级菜单的上架数 for (TreeNode treeNode : list) { for (TypeInfo typeCount : typeCountList) { - treeNode.setMaCount(0); if ("4".equals(treeNode.getLevel()) && treeNode.getId() == typeCount.getTypeId().longValue()) { treeNode.setMaCount(typeCount.getMaCount()); }