delete from university_consult
where id = #{id,jdbcType=INTEGER}
insert into university_consult (university_id, column_type,
video_url, context, img_url,
create_time, sort,status)
values (#{universityId,jdbcType=INTEGER}, #{columnType,jdbcType=INTEGER},
#{videoUrl,jdbcType=VARCHAR}, #{context,jdbcType=VARCHAR}, #{imgUrl,jdbcType=VARCHAR},
GETDATE(), #{sort,jdbcType=INTEGER},#{status})
update university_consult
university_id = #{universityId,jdbcType=INTEGER},
column_type = #{columnType,jdbcType=INTEGER},
video_url = #{videoUrl,jdbcType=VARCHAR},
context = #{context,jdbcType=VARCHAR},
img_url = #{imgUrl,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
sort = #{sort,jdbcType=INTEGER},
where id = #{id,jdbcType=INTEGER}