delete from college_test
where id = #{id,jdbcType=INTEGER}
insert into college_test
core_id,
`name`,
score,
`desc`,
`comment`
#{core_id,jdbcType=VARCHAR},
#{name,jdbcType=VARCHAR},
#{score,jdbcType=INTEGER},
#{desc,jdbcType=VARCHAR},
#{comment,jdbcType=VARCHAR}
update college_test
core_id = #{core_id,jdbcType=VARCHAR},
`name` = #{name,jdbcType=VARCHAR},
score = #{score ,jdbcType=INTEGER},
`desc` = #{desc,jdbcType=VARCHAR},
`comment` = #{comment,jdbcType=VARCHAR}
where id = #{id,jdbcType=INTEGER}