提交 647b0864 编写于 作者: F fengyw

完善搜索接口

上级 1a32177c
......@@ -108,6 +108,7 @@ public class ApiCourseBiz extends BaseBiz {
example.createCriteria().andStatusIdEqualTo(StatusIdEnum.YES.getCode());
List<Category> categories = categoryDao.listByExample(example);
List<Long> idList = new ArrayList<>();
// 需要查询的ID
idList.add(categoryId);
filter(idList, categories, categoryId);
return idList;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册