@@ -214,6 +214,7 @@ public class UserWaterAlarmServiceImpl extends BaseServiceImpl<UserWaterAlarmMap | |||
QueryWrapper<TauvWaterAlarm> queryWrapper = new QueryWrapper<>(); | |||
queryWrapper.in("status", new Integer[]{2, 4, 5}); | |||
queryWrapper.eq("mark", 1); | |||
queryWrapper.last(String.format("limit %s", num)); | |||
List<TauvWaterAlarm> waterAlarmList = userWaterAlarmMapper.selectList(queryWrapper); | |||
return response.success(waterAlarmList); | |||
} |