id, winding, electric_current, vol, resistance, temperature, save_time, experiment_id,
`status`, note
delete from tb_experiment_winding_step1
where id = #{id,jdbcType=INTEGER}
delete from tb_experiment_winding_step1
where experiment_id = #{experimentId,jdbcType=INTEGER}
insert into tb_experiment_winding_step1
id,
winding,
electric_current,
vol,
resistance,
temperature,
save_time,
experiment_id,
`status`,
note,
#{id,jdbcType=INTEGER},
#{winding,jdbcType=VARCHAR},
#{electricCurrent,jdbcType=FLOAT},
#{vol,jdbcType=FLOAT},
#{resistance,jdbcType=FLOAT},
#{temperature,jdbcType=FLOAT},
#{saveTime,jdbcType=TIMESTAMP},
#{experimentId,jdbcType=VARCHAR},
#{status,jdbcType=BOOLEAN},
#{note,jdbcType=VARCHAR},
update tb_experiment_winding_step1
winding = #{winding,jdbcType=VARCHAR},
electric_current = #{electricCurrent,jdbcType=FLOAT},
vol = #{vol,jdbcType=FLOAT},
resistance = #{resistance,jdbcType=FLOAT},
temperature = #{temperature,jdbcType=FLOAT},
save_time = #{saveTime,jdbcType=TIMESTAMP},
experiment_id = #{experimentId,jdbcType=VARCHAR},
`status` = #{status,jdbcType=BOOLEAN},
note = #{note,jdbcType=VARCHAR},
where id = #{id,jdbcType=INTEGER}
update tb_experiment_winding_step1
set winding = #{winding,jdbcType=VARCHAR},
electric_current = #{electricCurrent,jdbcType=FLOAT},
vol = #{vol,jdbcType=FLOAT},
resistance = #{resistance,jdbcType=FLOAT},
temperature = #{temperature,jdbcType=FLOAT},
save_time = #{saveTime,jdbcType=TIMESTAMP},
experiment_id = #{experimentId,jdbcType=VARCHAR},
`status` = #{status,jdbcType=BOOLEAN},
note = #{note,jdbcType=VARCHAR}
where id = #{id,jdbcType=INTEGER}
update tb_experiment_winding_step1
set winding = #{winding,jdbcType=VARCHAR},
electric_current = #{electricCurrent,jdbcType=FLOAT},
vol = #{vol,jdbcType=FLOAT},
resistance = #{resistance,jdbcType=FLOAT},
temperature = #{temperature,jdbcType=FLOAT},
save_time = #{saveTime,jdbcType=TIMESTAMP},
experiment_id = #{experimentId,jdbcType=VARCHAR},
`status` = #{status,jdbcType=BOOLEAN},
note = #{note,jdbcType=VARCHAR}
where
experiment_id = #{experimentId,jdbcType=VARCHAR}
update `db_3.5mw_web`.tb_experiment_winding_step1
set
electric_current = #{electricCurrent},
vol = #{vol},
resistance = #{resistance},
save_time = #{saveTime},
temperature = #{temperature}
WHERE
experiment_id = #{experimentId} AND
index_id = #{indexId} AND
step = #{step}
UPDATE `db_3.5mw_web`.`tb_experiment_winding_step1` SET status = 2 where experiment_id = #{id}