ID, label
delete from t_post
where ID = #{id,jdbcType=INTEGER}
SELECT LAST_INSERT_ID()
insert into t_post (ID, label)
values (#{id,jdbcType=INTEGER}, #{label,jdbcType=VARCHAR})
SELECT LAST_INSERT_ID()
insert into t_post
ID,
label,
#{id,jdbcType=INTEGER},
#{label,jdbcType=VARCHAR},
update t_post
label = #{label,jdbcType=VARCHAR},
where ID = #{id,jdbcType=INTEGER}
update t_post
set label = #{label,jdbcType=VARCHAR}
where ID = #{id,jdbcType=INTEGER}