提交 1f028df7 编写于 作者: cxt104926's avatar cxt104926

1

上级 414b4409
......@@ -40,7 +40,7 @@ public class MenuService {
if (name != null) {
criteria.andEqualTo("name", name);
}
example.orderBy("createTime").desc();
example.orderBy("id").asc();
List<Menu> menus = this.menuMapper.selectByExample(example);
List<MenuVO> menuVOS = CopyBeanUtil.copyList(menus, MenuVO.class);
return new PageInfo<>(menuVOS);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册