Browse Source

no message

FengChaoYu 6 months ago
parent
commit
40e86a6e45

+ 3 - 3
src/main/java/com/zfire/mall/manager/logic/config/TradeConfigLogic.java

@@ -125,9 +125,9 @@ public class TradeConfigLogic {
                 .in(TradeCategoryConfig::getId, parentIdList)
                 .list();
         // 搜索得到的父级,添加进父级集合,得到完整的树形结构父级数据
-        if (CollectionUtils.isNotEmpty(levelOneList)) {
-            parentList.addAll(levelOneList);
-        }
+//        if (CollectionUtils.isNotEmpty(levelOneList)) {
+//            parentList.addAll(levelOneList);
+//        }
         return TradeConfigConvert.INSTANCE.toLevelVOList(parentList, childByParentIdMap);
     }
 }