SELECT LAST_INSERT_ID()
insert into contents (id, price, title,
pic, summary, detail
)
values (#{id,jdbcType=INTEGER}, #{price,jdbcType=DOUBLE}, #{title,jdbcType=VARCHAR},
#{pic,jdbcType=VARCHAR}, #{summary,jdbcType=VARCHAR}, #{detail,jdbcType=LONGVARCHAR}
)