|
|
|
@ -18,6 +18,8 @@
|
|
|
|
|
<result property="createTime" column="create_time"/>
|
|
|
|
|
<result property="updateBy" column="update_by"/>
|
|
|
|
|
<result property="updateTime" column="update_time"/>
|
|
|
|
|
<result property="powerExpend" column="power_expend"/>
|
|
|
|
|
<result property="powerValue" column="power_value"/>
|
|
|
|
|
</resultMap>
|
|
|
|
|
|
|
|
|
|
<sql id="selectEmsReportPointDnbVo">
|
|
|
|
@ -26,6 +28,8 @@
|
|
|
|
|
ebmi.monitor_name,
|
|
|
|
|
erpd.instrument_value,
|
|
|
|
|
erpd.expend,
|
|
|
|
|
erpd.power_expend,
|
|
|
|
|
erpd.power_value,
|
|
|
|
|
erpd.record_time,
|
|
|
|
|
erpd.begin_time,
|
|
|
|
|
erpd.end_time,
|
|
|
|
@ -72,6 +76,8 @@
|
|
|
|
|
<if test="createTime != null">create_time,</if>
|
|
|
|
|
<if test="updateBy != null">update_by,</if>
|
|
|
|
|
<if test="updateTime != null">update_time,</if>
|
|
|
|
|
<if test="powerExpend != null">power_expend,</if>
|
|
|
|
|
<if test="powerValue != null">power_value,</if>
|
|
|
|
|
</trim>
|
|
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
|
|
<if test="monitorCode != null">#{monitorCode},</if>
|
|
|
|
@ -85,6 +91,8 @@
|
|
|
|
|
<if test="createTime != null">#{createTime},</if>
|
|
|
|
|
<if test="updateBy != null">#{updateBy},</if>
|
|
|
|
|
<if test="updateTime != null">#{updateTime},</if>
|
|
|
|
|
<if test="powerExpend != null">#{powerExpend},</if>
|
|
|
|
|
<if test="powerValue != null">#{powerValue},</if>
|
|
|
|
|
</trim>
|
|
|
|
|
</insert>
|
|
|
|
|
|
|
|
|
@ -102,6 +110,8 @@
|
|
|
|
|
<if test="createTime != null">create_time = #{createTime},</if>
|
|
|
|
|
<if test="updateBy != null">update_by = #{updateBy},</if>
|
|
|
|
|
<if test="updateTime != null">update_time = #{updateTime},</if>
|
|
|
|
|
<if test="powerExpend != null">power_expend = #{powerExpend},</if>
|
|
|
|
|
<if test="powerValue != null">power_value = #{powerValue},</if>
|
|
|
|
|
</trim>
|
|
|
|
|
where obj_id = #{objId}
|
|
|
|
|
</update>
|
|
|
|
|