From 8f30d81e3537e35c8dbf8b2442b42bf60dbd4307 Mon Sep 17 00:00:00 2001 From: sxu <602087911@qq.com> Date: Mon, 16 Dec 2024 18:49:23 +0800 Subject: [PATCH] order info improvement --- .../bonus/material/home/service/impl/MaTypeInfoServiceImpl.java | 1 - 1 file changed, 1 deletion(-) 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()); }