提交 9514f314 编写于 作者: F fengyw

轮播功能

上级 fe94ed04
......@@ -40,7 +40,7 @@ public class ApiCategoryBiz {
// 根据分类类型、层级查询可用状态的课程分类集合
CategoryExample example = new CategoryExample();
example.createCriteria().andStatusIdEqualTo(StatusIdEnum.YES.getCode());
example.setOrderByClause(" sort asc, id asc ");
example.setOrderByClause(" sort asc, id desc ");
List<Category> categories = dao.listByExample(example);
return Result.success(filter(categories, Long.valueOf(0)));
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册