id, last_history_id, manure_id, dt, stir_running1, stir_running2, stir_running3, stir_running4, inject_running, irr_running, alarm, manure_flow, manure_time, stir_time, stir_duration, inject_duration delete from rm_manure_last where id = #{id,jdbcType=BIGINT} insert into rm_manure_last (id, last_history_id, manure_id, dt, stir_running1, stir_running2, stir_running3, stir_running4, inject_running, irr_running, alarm, manure_flow, manure_time, stir_time, stir_duration, inject_duration) values (#{id,jdbcType=BIGINT}, #{lastHistoryId,jdbcType=BIGINT}, #{manureId,jdbcType=BIGINT}, #{dt,jdbcType=TIMESTAMP}, #{stirRunning1,jdbcType=TINYINT}, #{stirRunning2,jdbcType=TINYINT}, #{stirRunning3,jdbcType=TINYINT}, #{stirRunning4,jdbcType=TINYINT}, #{injectRunning,jdbcType=TINYINT}, #{irrRunning,jdbcType=TINYINT}, #{alarm,jdbcType=TINYINT}, #{manureFlow,jdbcType=FLOAT}, #{manureTime,jdbcType=INTEGER}, #{stirTime,jdbcType=INTEGER}, #{stirDuration,jdbcType=INTEGER}, #{injectDuration,jdbcType=INTEGER}) insert into rm_manure_last id, last_history_id, manure_id, dt, stir_running1, stir_running2, stir_running3, stir_running4, inject_running, irr_running, alarm, manure_flow, manure_time, stir_time, stir_duration, inject_duration, #{id,jdbcType=BIGINT}, #{lastHistoryId,jdbcType=BIGINT}, #{manureId,jdbcType=BIGINT}, #{dt,jdbcType=TIMESTAMP}, #{stirRunning1,jdbcType=TINYINT}, #{stirRunning2,jdbcType=TINYINT}, #{stirRunning3,jdbcType=TINYINT}, #{stirRunning4,jdbcType=TINYINT}, #{injectRunning,jdbcType=TINYINT}, #{irrRunning,jdbcType=TINYINT}, #{alarm,jdbcType=TINYINT}, #{manureFlow,jdbcType=FLOAT}, #{manureTime,jdbcType=INTEGER}, #{stirTime,jdbcType=INTEGER}, #{stirDuration,jdbcType=INTEGER}, #{injectDuration,jdbcType=INTEGER}, update rm_manure_last last_history_id = #{lastHistoryId,jdbcType=BIGINT}, manure_id = #{manureId,jdbcType=BIGINT}, dt = #{dt,jdbcType=TIMESTAMP}, stir_running1 = #{stirRunning1,jdbcType=TINYINT}, stir_running2 = #{stirRunning2,jdbcType=TINYINT}, stir_running3 = #{stirRunning3,jdbcType=TINYINT}, stir_running4 = #{stirRunning4,jdbcType=TINYINT}, inject_running = #{injectRunning,jdbcType=TINYINT}, irr_running = #{irrRunning,jdbcType=TINYINT}, alarm = #{alarm,jdbcType=TINYINT}, manure_flow = #{manureFlow,jdbcType=FLOAT}, manure_time = #{manureTime,jdbcType=INTEGER}, stir_time = #{stirTime,jdbcType=INTEGER}, stir_duration = #{stirDuration,jdbcType=INTEGER}, inject_duration = #{injectDuration,jdbcType=INTEGER}, where id = #{id,jdbcType=BIGINT} update rm_manure_last set last_history_id = #{lastHistoryId,jdbcType=BIGINT}, manure_id = #{manureId,jdbcType=BIGINT}, dt = #{dt,jdbcType=TIMESTAMP}, stir_running1 = #{stirRunning1,jdbcType=TINYINT}, stir_running2 = #{stirRunning2,jdbcType=TINYINT}, stir_running3 = #{stirRunning3,jdbcType=TINYINT}, stir_running4 = #{stirRunning4,jdbcType=TINYINT}, inject_running = #{injectRunning,jdbcType=TINYINT}, irr_running = #{irrRunning,jdbcType=TINYINT}, alarm = #{alarm,jdbcType=TINYINT}, manure_flow = #{manureFlow,jdbcType=FLOAT}, manure_time = #{manureTime,jdbcType=INTEGER}, stir_time = #{stirTime,jdbcType=INTEGER}, stir_duration = #{stirDuration,jdbcType=INTEGER}, inject_duration = #{injectDuration,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT}