mirror of https://gitee.com/stylefeng/roses
【7.2.2】删除查询冗余代码
parent
262a186b03
commit
f1e38e0481
|
@ -154,7 +154,6 @@ public class SysAppServiceImpl extends ServiceImpl<SysAppMapper, SysApp> impleme
|
|||
@Override
|
||||
public PageResult<SysApp> findPage(SysAppRequest sysAppRequest) {
|
||||
LambdaQueryWrapper<SysApp> wrapper = createWrapper(sysAppRequest);
|
||||
wrapper.orderByAsc(SysApp::getAppSort);
|
||||
Page<SysApp> page = this.page(PageFactory.defaultPage(), wrapper);
|
||||
return PageResultFactory.createPageResult(page);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue