@ -44,11 +44,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<includerefid="selectRecordAlarmVo"/>
<where>
<iftest="sensorId != null and sensorId != ''"> and Sensor_Id = #{sensorId}</if>
<iftest="disposeFlag != null"> and Dispose_Flag = #{disposeFlag}</if>
<iftest="alarmtypeId != null and alarmtypeId != ''"> and AlarmType_Id = #{alarmtypeId}</if>
<iftest="minValue != null "> and Min_Value = #{minValue}</if>
<iftest="alarmValue != null "> and Alarm_Value = #{alarmValue}</if>
<iftest="maxValue != null "> and Max_Value = #{maxValue}</if>
<iftest="collectTime != null and collectTime != ''"> and Collect_Time = #{collectTime}</if>
<iftest="beginCollectTime != null and beginCollectTime != '' and endCollectTime != null and endCollectTime != '' ">and Collect_Time between #{beginCollectTime} and #{endCollectTime}</if>
</where>
</select>
@ -84,11 +85,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"