@@ -65,6 +65,7 @@ public class UserWaterAlarmServiceImpl extends BaseServiceImpl<UserWaterAlarmMap | |||
public Response getList(UserWaterAlarmQuery query) { | |||
// 查询条件 | |||
QueryWrapper<TauvWaterAlarm> queryWrapper = new QueryWrapper<>(); | |||
queryWrapper.eq("mark", 1); | |||
// 报警编号 | |||
if (!StringUtils.isEmpty(query.getAlarmSn())) { | |||
queryWrapper.like("alarm_sn", query.getAlarmSn()); |