|
|
|
@ -13,7 +13,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
<result property="acceleration" column="acceleration" />
|
|
|
|
<result property="acceleration" column="acceleration" />
|
|
|
|
<result property="temperature" column="temperature" />
|
|
|
|
<result property="temperature" column="temperature" />
|
|
|
|
<result property="recodeTime" column="recodeTime" />
|
|
|
|
<result property="recodeTime" column="recodeTime" />
|
|
|
|
<result property="remark" column="remark" />
|
|
|
|
|
|
|
|
<result property="monitorName" column="monitor_name" />
|
|
|
|
<result property="monitorName" column="monitor_name" />
|
|
|
|
</resultMap>
|
|
|
|
</resultMap>
|
|
|
|
|
|
|
|
|
|
|
|
@ -26,7 +25,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
rdi.acceleration,
|
|
|
|
rdi.acceleration,
|
|
|
|
rdi.temperature,
|
|
|
|
rdi.temperature,
|
|
|
|
rdi.recodeTime,
|
|
|
|
rdi.recodeTime,
|
|
|
|
rdi.remark,
|
|
|
|
|
|
|
|
bmi.monitor_name
|
|
|
|
bmi.monitor_name
|
|
|
|
from T_VibrationSensor_Data rdi
|
|
|
|
from T_VibrationSensor_Data rdi
|
|
|
|
left join ems_base_monitor_info bmi on rdi.sensor_id = bmi.monitor_code
|
|
|
|
left join ems_base_monitor_info bmi on rdi.sensor_id = bmi.monitor_code
|
|
|
|
@ -75,7 +73,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
<if test="acceleration != null">acceleration,</if>
|
|
|
|
<if test="acceleration != null">acceleration,</if>
|
|
|
|
<if test="temperature != null">temperature,</if>
|
|
|
|
<if test="temperature != null">temperature,</if>
|
|
|
|
<if test="recodeTime != null">recodeTime,</if>
|
|
|
|
<if test="recodeTime != null">recodeTime,</if>
|
|
|
|
<if test="remark != null">remark,</if>
|
|
|
|
|
|
|
|
</trim>
|
|
|
|
</trim>
|
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
|
<if test="collectTime != null">#{collectTime},</if>
|
|
|
|
<if test="collectTime != null">#{collectTime},</if>
|
|
|
|
@ -85,7 +82,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
<if test="acceleration != null">#{acceleration},</if>
|
|
|
|
<if test="acceleration != null">#{acceleration},</if>
|
|
|
|
<if test="temperature != null">#{temperature},</if>
|
|
|
|
<if test="temperature != null">#{temperature},</if>
|
|
|
|
<if test="recodeTime != null">#{recodeTime},</if>
|
|
|
|
<if test="recodeTime != null">#{recodeTime},</if>
|
|
|
|
<if test="remark != null">#{remark},</if>
|
|
|
|
|
|
|
|
</trim>
|
|
|
|
</trim>
|
|
|
|
</insert>
|
|
|
|
</insert>
|
|
|
|
|
|
|
|
|
|
|
|
@ -99,7 +95,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
<if test="acceleration != null">acceleration = #{acceleration},</if>
|
|
|
|
<if test="acceleration != null">acceleration = #{acceleration},</if>
|
|
|
|
<if test="temperature != null">temperature = #{temperature},</if>
|
|
|
|
<if test="temperature != null">temperature = #{temperature},</if>
|
|
|
|
<if test="recodeTime != null">recodeTime = #{recodeTime},</if>
|
|
|
|
<if test="recodeTime != null">recodeTime = #{recodeTime},</if>
|
|
|
|
<if test="remark != null">remark = #{remark},</if>
|
|
|
|
|
|
|
|
</trim>
|
|
|
|
</trim>
|
|
|
|
where objId = #{objId}
|
|
|
|
where objId = #{objId}
|
|
|
|
</update>
|
|
|
|
</update>
|
|
|
|
|