提交 4bf0f569 authored 作者: chaoyanjun's avatar chaoyanjun

--no commit message

上级 2ee1d40e
......@@ -34,7 +34,7 @@ public class CategoriesController {
PageParam pageParam = new PageParam();
pageParam.setPageSize(99999);
List<BookCategories> list = service.queryCriteria(pageParam).getList();
List<BookCategoriesVo> voList = Copy.copyList(list , BookCategoriesVo.class, obj -> obj.getParentId().equals("0"));
List<BookCategoriesVo> voList = Copy.copyList(list , BookCategoriesVo.class, obj -> obj.getParentId().toString().equals("0"));
tree(list,voList);
return CallBack.success(voList);
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论