id, operator_id, intake_id, last_used_time, usage_count
delete from pr_common_intakes
where id = #{id,jdbcType=BIGINT}
insert into pr_common_intakes (id, operator_id, intake_id,
last_used_time, usage_count)
values (#{id,jdbcType=BIGINT}, #{operatorId,jdbcType=BIGINT}, #{intakeId,jdbcType=BIGINT},
#{lastUsedTime,jdbcType=TIMESTAMP}, #{usageCount,jdbcType=INTEGER})
insert into pr_common_intakes
id,
operator_id,
intake_id,
last_used_time,
usage_count,
#{id,jdbcType=BIGINT},
#{operatorId,jdbcType=BIGINT},
#{intakeId,jdbcType=BIGINT},
#{lastUsedTime,jdbcType=TIMESTAMP},
#{usageCount,jdbcType=INTEGER},
update pr_common_intakes
operator_id = #{operatorId,jdbcType=BIGINT},
intake_id = #{intakeId,jdbcType=BIGINT},
last_used_time = #{lastUsedTime,jdbcType=TIMESTAMP},
usage_count = #{usageCount,jdbcType=INTEGER},
where id = #{id,jdbcType=BIGINT}
update pr_common_intakes
set operator_id = #{operatorId,jdbcType=BIGINT},
intake_id = #{intakeId,jdbcType=BIGINT},
last_used_time = #{lastUsedTime,jdbcType=TIMESTAMP},
usage_count = #{usageCount,jdbcType=INTEGER}
where id = #{id,jdbcType=BIGINT}