|
|
@ -14,7 +14,7 @@ |
|
|
|
<if test="param.stationId != null and param.stationId != ''"> |
|
|
|
<if test="param.stationId != null and param.stationId != ''"> |
|
|
|
AND ALARM.STATION_ID = #{param.stationId} |
|
|
|
AND ALARM.STATION_ID = #{param.stationId} |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<if test="param.startTime != null and param.alarmTime != ''"> |
|
|
|
<if test="param.startTime != null and param.startTime != ''"> |
|
|
|
AND ALARM.ALARM_TIME >= #{param.startTime} |
|
|
|
AND ALARM.ALARM_TIME >= #{param.startTime} |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<if test="param.endTime != null and param.endTime != ''"> |
|
|
|
<if test="param.endTime != null and param.endTime != ''"> |
|
|
|