id, task_id, controller_id, rtu_addr, is_over, ug_state, over_dt 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}, #{isOver,jdbcType=TINYINT}, #{ugState,jdbcType=INTEGER}, #{overDt,jdbcType=TIMESTAMP}) insert into ug_rtu_controller id, task_id, controller_id, rtu_addr, is_over, ug_state, over_dt, #{id,jdbcType=BIGINT}, #{taskId,jdbcType=BIGINT}, #{controllerId,jdbcType=BIGINT}, #{rtuAddr,jdbcType=VARCHAR}, #{isOver,jdbcType=TINYINT}, #{ugState,jdbcType=INTEGER}, #{overDt,jdbcType=TIMESTAMP}, update ug_rtu_controller task_id = #{taskId,jdbcType=BIGINT}, controller_id = #{controllerId,jdbcType=BIGINT}, rtu_addr = #{rtuAddr,jdbcType=VARCHAR}, is_over = #{isOver,jdbcType=TINYINT}, ug_state = #{isOver,jdbcType=INTEGER}, over_dt = #{isOver,jdbcType=TIMESTAMP}, 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}, is_over = #{isOver,jdbcType=TINYINT}, ug_state = #{ugState,jdbcType=INTEGER}, over_dt = #{overDt,jdbcType=TIMESTAMP} where id = #{id,jdbcType=BIGINT} update ug_rtu_controller set is_over = #{isOver,jdbcType=TINYINT}, ug_state = #{state,jdbcType=INTEGER}, over_dt = #{overDt,jdbcType=TIMESTAMP} where task_id = #{taskId,jdbcType=BIGINT} and rtu_addr = #{rtuAddr,jdbcType=VARCHAR}