48f7ee5e sonin

隐患检查 排序处理

1 个父辈 10f070ef
......@@ -74,7 +74,7 @@ public class AjhRectificationInfoController {
}
QueryWrapper<AjhRectificationInfo> queryWrapper = QueryGenerator.initQueryWrapper(ajhRectificationInfo, req.getParameterMap());
queryWrapper.eq(ConvertUtils.isNotEmpty(ajhRectificationInfo.getDangerId()),"danger_id",ajhRectificationInfo.getDangerId());
queryWrapper.orderByDesc("rec_ord_level");//重大风险排前面
queryWrapper.orderByDesc("rec_ord_report_date", "rec_ord_level");//重大风险排前面
Page<AjhRectificationInfo> page = new Page<AjhRectificationInfo>(pageNo, pageSize);
IPage<AjhRectificationInfo> pageList = ajhRectificationInfoService.page(page, queryWrapper);
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!