id, task_id, controller_id, rtu_addr
delete from ug_rtu_controller
where id = #{id,jdbcType=BIGINT}
delete from ug_rtu_controller
where task_id = #{taskId,jdbcType=BIGINT}
insert into ug_rtu_controller (id, task_id, controller_id,
rtu_addr)
values (#{id,jdbcType=BIGINT}, #{taskId,jdbcType=BIGINT}, #{controllerId,jdbcType=BIGINT},
#{rtuAddr,jdbcType=VARCHAR})
insert into ug_rtu_controller
id,
task_id,
controller_id,
rtu_addr,
#{id,jdbcType=BIGINT},
#{taskId,jdbcType=BIGINT},
#{controllerId,jdbcType=BIGINT},
#{rtuAddr,jdbcType=VARCHAR},
update ug_rtu_controller
task_id = #{taskId,jdbcType=BIGINT},
controller_id = #{controllerId,jdbcType=BIGINT},
rtu_addr = #{rtuAddr,jdbcType=VARCHAR},
where id = #{id,jdbcType=BIGINT}
update ug_rtu_controller
set task_id = #{taskId,jdbcType=BIGINT},
controller_id = #{controllerId,jdbcType=BIGINT},
rtu_addr = #{rtuAddr,jdbcType=VARCHAR}
where id = #{id,jdbcType=BIGINT}