diff --git a/src/main/java/com/cultural/heritage/controller/good/CategoryController.java b/src/main/java/com/cultural/heritage/controller/good/CategoryController.java index 9f97b98..9ebd364 100644 --- a/src/main/java/com/cultural/heritage/controller/good/CategoryController.java +++ b/src/main/java/com/cultural/heritage/controller/good/CategoryController.java @@ -235,6 +235,7 @@ public class CategoryController { } QueryWrapper queryWrapper = new QueryWrapper<>(); queryWrapper.eq("type", typeName); + queryWrapper.eq("isShelves", 1); queryWrapper.orderByDesc("id"); List goodList = goodService.list(queryWrapper); Map> map = new HashMap<>();