@@ -170,6 +170,7 @@ public class UserIndexController { | |||
QueryWrapper<TauvWaterWarn> queryWrapper = new QueryWrapper<>(); | |||
queryWrapper.eq("mark", 1); | |||
queryWrapper.le("status", 2); | |||
queryWrapper.ge("warn_level", 1); | |||
queryWrapper.orderByDesc("id"); | |||
IPage<TauvWaterWarn> page = new Page<>(1, 3); | |||
IPage<TauvWaterWarn> data = waterWarnMapper.selectPage(page, queryWrapper); |