<iftest="objId != null and objId != ''">and rdi.obj_id = #{objId}</if>
<iftest="monitorCode != null and monitorCode != ''">and rdi.monitor_code = #{monitorCode}</if>
<iftest="objId != null and objId != ''">and rdi.objId = #{objId}</if>
<iftest="sensorId != null and sensorId != ''">and rdi.sensor_id = #{sensorId}</if>
<iftest="params.beginCollectTime != null and params.beginCollectTime != '' and params.endCollectTime != null and params.endCollectTime != ''">
and rdi.collect_time between #{params.beginCollectTime} and #{params.endCollectTime}</if>
and rdi.collectTime between #{params.beginCollectTime} and #{params.endCollectTime}</if>
<iftest="params.beginRecordTime != null and params.beginRecordTime != '' and params.endRecordTime != null and params.endRecordTime != ''">
and rdi.record_time between #{params.beginRecordTime} and #{params.endRecordTime}</if>
and rdi.collectTime between #{params.beginRecordTime} and #{params.endRecordTime}</if>
</where>
order by rdi.collect_time
order by rdi.collectTime
</select>
@ -39,18 +50,18 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<includerefid="selectEmsVibrationInstantVo"/>
<where>
<iftest="params.beginCollectTime != null and params.beginCollectTime != '' and params.endCollectTime != null and params.endCollectTime != ''"> and collectTime between #{params.beginCollectTime} and #{params.endCollectTime}</if>
<iftest="sensorId != null and sensorId != ''"> and sensor_id = #{sensorId}</if>
<iftest="speed != null "> and speed = #{speed}</if>
<iftest="displacement != null "> and displacement = #{displacement}</if>
<iftest="acceleration != null "> and acceleration = #{acceleration}</if>
<iftest="temperature != null "> and temperature = #{temperature}</if>
<iftest="sensorId != null and sensorId != ''"> and rdi.sensor_id = #{sensorId}</if>
<iftest="speed != null "> and rdi.speed = #{speed}</if>
<iftest="displacement != null "> and rdi.displacement = #{displacement}</if>
<iftest="acceleration != null "> and rdi.acceleration = #{acceleration}</if>
<iftest="temperature != null "> and rdi.temperature = #{temperature}</if>
<iftest="params.beginRecodeTime != null and params.beginRecodeTime != '' and params.endRecodeTime != null and params.endRecodeTime != ''"> and recodeTime between #{params.beginRecodeTime} and #{params.endRecodeTime}</if>