order info improvement
This commit is contained in:
parent
3d24f77a66
commit
8f30d81e35
|
|
@ -50,7 +50,6 @@ public class MaTypeInfoServiceImpl implements MaTypeInfoSevice {
|
||||||
// 计算4级菜单的上架数
|
// 计算4级菜单的上架数
|
||||||
for (TreeNode treeNode : list) {
|
for (TreeNode treeNode : list) {
|
||||||
for (TypeInfo typeCount : typeCountList) {
|
for (TypeInfo typeCount : typeCountList) {
|
||||||
treeNode.setMaCount(0);
|
|
||||||
if ("4".equals(treeNode.getLevel()) && treeNode.getId() == typeCount.getTypeId().longValue()) {
|
if ("4".equals(treeNode.getLevel()) && treeNode.getId() == typeCount.getTypeId().longValue()) {
|
||||||
treeNode.setMaCount(typeCount.getMaCount());
|
treeNode.setMaCount(typeCount.getMaCount());
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue