|
@@ -67,10 +67,10 @@
|
|
<if test="dto.alarmCategory != null and dto.alarmCategory!=''" >
|
|
<if test="dto.alarmCategory != null and dto.alarmCategory!=''" >
|
|
and sat.alarm_category = #{dto.alarmCategory}
|
|
and sat.alarm_category = #{dto.alarmCategory}
|
|
</if>
|
|
</if>
|
|
- <if test="dto.startTime != null">
|
|
|
|
|
|
+ <if test="dto.startTime != null and dto.startTime != ''">
|
|
and sad.alarm_start_time >=#{dto.startTime}
|
|
and sad.alarm_start_time >=#{dto.startTime}
|
|
</if>
|
|
</if>
|
|
- <if test="dto.endTime != null">
|
|
|
|
|
|
+ <if test="dto.endTime != null and dto.endTime != ''">
|
|
and sad.alarm_end_time <= #{dto.endTime}
|
|
and sad.alarm_end_time <= #{dto.endTime}
|
|
</if>
|
|
</if>
|
|
<if test="dto.state != null">
|
|
<if test="dto.state != null">
|