List<OCategory>Category = productService.getShopCategories(11122233); for(int i = 0; i < Category.size(); i++) { OCategory category = Category.get(i); System.out.println("分类ID:"+category.getId()+" "+"分类名称:"+category.getName()); }Map<Long,OItem>map = productService.getItemsByCategoryId(category.getId());
添加回答
举报
0/150
提交
取消