|
|
|
@ -102,7 +102,7 @@ public class CmsColumnController extends JeecgController<CmsColumn, ICmsColumnSe |
|
|
|
|
QueryWrapper<CmsColumn> queryWrapper = QueryGenerator.initQueryWrapper(cmsColumn, req.getParameterMap()); |
|
|
|
|
// 使用 eq 防止模糊查询
|
|
|
|
|
queryWrapper.eq("pid", parentId); |
|
|
|
|
queryWrapper.last("order by sort"); |
|
|
|
|
queryWrapper.last(" ,sort asc "); |
|
|
|
|
Page<CmsColumn> page = new Page<CmsColumn>(pageNo, pageSize); |
|
|
|
|
IPage<CmsColumn> pageList = cmsColumnService.page(page, queryWrapper); |
|
|
|
|
List<CmsColumn> records = pageList.getRecords(); |
|
|
|
|