id, plan_id, operate_type, command_id, intake_id, start_time, duration, command_result,
failure_factors
delete from ir_intake_operate
where id = #{id,jdbcType=BIGINT}
insert into ir_intake_operate (id, plan_id, operate_type,
command_id, intake_id, start_time,
duration, command_result, failure_factors
)
values (#{id,jdbcType=BIGINT}, #{planId,jdbcType=BIGINT}, #{operateType,jdbcType=TINYINT},
#{commandId,jdbcType=BIGINT}, #{intakeId,jdbcType=BIGINT}, #{startTime,jdbcType=TIMESTAMP},
#{duration,jdbcType=INTEGER}, #{commandResult,jdbcType=TINYINT}, #{failureFactors,jdbcType=VARCHAR}
)
insert into ir_intake_operate
id,
plan_id,
operate_type,
command_id,
intake_id,
start_time,
duration,
command_result,
failure_factors,
#{id,jdbcType=BIGINT},
#{planId,jdbcType=BIGINT},
#{operateType,jdbcType=TINYINT},
#{commandId,jdbcType=BIGINT},
#{intakeId,jdbcType=BIGINT},
#{startTime,jdbcType=TIMESTAMP},
#{duration,jdbcType=INTEGER},
#{commandResult,jdbcType=TINYINT},
#{failureFactors,jdbcType=VARCHAR},
update ir_intake_operate
plan_id = #{planId,jdbcType=BIGINT},
operate_type = #{operateType,jdbcType=TINYINT},
command_id = #{commandId,jdbcType=BIGINT},
intake_id = #{intakeId,jdbcType=BIGINT},
start_time = #{startTime,jdbcType=TIMESTAMP},
duration = #{duration,jdbcType=INTEGER},
command_result = #{commandResult,jdbcType=TINYINT},
failure_factors = #{failureFactors,jdbcType=VARCHAR},
where id = #{id,jdbcType=BIGINT}
update ir_intake_operate
set plan_id = #{planId,jdbcType=BIGINT},
operate_type = #{operateType,jdbcType=TINYINT},
command_id = #{commandId,jdbcType=BIGINT},
intake_id = #{intakeId,jdbcType=BIGINT},
start_time = #{startTime,jdbcType=TIMESTAMP},
duration = #{duration,jdbcType=INTEGER},
command_result = #{commandResult,jdbcType=TINYINT},
failure_factors = #{failureFactors,jdbcType=VARCHAR}
where id = #{id,jdbcType=BIGINT}
update ir_intake_operate
set command_result = #{commandResult}, failure_factors = #{failureFactors}
where command_id = #{commandId}