|
|
@ -164,10 +164,10 @@ public class HistoryAbnormalAlarmServiceImpl extends BaseServiceImpl<HistoryAbno |
|
|
|
queryWrapper.lambda().eq(HistoryAbnormalAlarmEntity::getType, entity.getType()); |
|
|
|
queryWrapper.lambda().eq(HistoryAbnormalAlarmEntity::getType, entity.getType()); |
|
|
|
} |
|
|
|
} |
|
|
|
if (entity.getStartTime() != null) { |
|
|
|
if (entity.getStartTime() != null) { |
|
|
|
queryWrapper.lambda().le(HistoryAbnormalAlarmEntity::getStartTime, entity.getStartTime()); |
|
|
|
queryWrapper.lambda().ge(HistoryAbnormalAlarmEntity::getStartTime, entity.getStartTime()); |
|
|
|
} |
|
|
|
} |
|
|
|
if (entity.getEndTime() != null) { |
|
|
|
if (entity.getEndTime() != null) { |
|
|
|
queryWrapper.lambda().ge(HistoryAbnormalAlarmEntity::getStartTime, entity.getEndTime()); |
|
|
|
queryWrapper.lambda().le(HistoryAbnormalAlarmEntity::getStartTime, entity.getEndTime()); |
|
|
|
} |
|
|
|
} |
|
|
|
return queryWrapper; |
|
|
|
return queryWrapper; |
|
|
|
} |
|
|
|
} |
|
|
|