fix:增加排序
This commit is contained in:
parent
14e64306b2
commit
d5b18e57b5
|
@ -44,6 +44,7 @@ public class GardsAlertSystemServiceImpl extends ServiceImpl<GardsAlertSystemMap
|
|||
String code = alertSystemVo.getCode();
|
||||
String content = alertSystemVo.getContent();
|
||||
LambdaQueryWrapper<GardsAlertSystem> wrapper = new LambdaQueryWrapper<>();
|
||||
wrapper.orderByAsc(GardsAlertSystem::getCode);
|
||||
wrapper.like(StrUtil.isNotBlank(code), GardsAlertSystem::getCode, code);
|
||||
wrapper.like(StrUtil.isNotBlank(content), GardsAlertSystem::getContent, content);
|
||||
page = this.page(page, wrapper);
|
||||
|
|
Loading…
Reference in New Issue
Block a user