代码规范修改 5.22

master
zhc077 2 years ago
parent 75e03c263a
commit 2b494ee41a
  1. 2
      jeecg-boot/jeecg-boot-module-cms/src/main/java/org/jeecg/modules/cms/admin/controller/CmsColumnController.java

@ -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();

Loading…
Cancel
Save