id, eqmid, acquisitionTime, phase, dischargeCapacity, dischargePosition, pulseCount, dischargeWaveform,
isupload, create_time, update_time
update data_dlq_jbfd
isupload = #{isupload,jdbcType=INTEGER},
update_time = #{updateTime,jdbcType=TIMESTAMP},
where
id #{maxid}
and id not in
#{id}
update data_dlq_jbfd
isupload = #{isupload,jdbcType=INTEGER},
update_time = #{updateTime,jdbcType=TIMESTAMP},
where
id in
#{id}
update data_dlq_jbfd
isupload = #{isupload,jdbcType=INTEGER},
update_time = #{updateTime,jdbcType=TIMESTAMP},
where isupload is null
and (
(
eqmid = #{item.eqmid}
and id #{item.maxid}
)
)
update data_dlq_jbfd
isupload = #{isupload,jdbcType=INTEGER},
update_time = #{updateTime,jdbcType=TIMESTAMP},
where isupload is null
and id #{maxid}
and eqmid in
#{id}