id, school_id, title_desc, video_url, context, img_url, sort, status, read_number,
background, model_list,create_time
model_list
delete from sys_yx_school_consult
where id = #{id,jdbcType=INTEGER}
insert into sys_yx_school_consult
id,
school_id,
title_desc,
video_url,
context,
img_url,
sort,
status,
read_number,
background,
create_time,
model_list,
#{id,jdbcType=INTEGER},
#{schoolId,jdbcType=INTEGER},
#{titleDesc,jdbcType=VARCHAR},
#{videoUrl,jdbcType=VARCHAR},
#{context,jdbcType=VARCHAR},
#{imgUrl,jdbcType=VARCHAR},
#{sort,jdbcType=INTEGER},
#{status,jdbcType=INTEGER},
#{readNumber,jdbcType=INTEGER},
#{background,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
#{modelList,jdbcType=LONGVARCHAR},
update sys_yx_school_consult
school_id = #{schoolId,jdbcType=INTEGER},
title_desc = #{titleDesc,jdbcType=VARCHAR},
video_url = #{videoUrl,jdbcType=VARCHAR},
context = #{context,jdbcType=VARCHAR},
img_url = #{imgUrl,jdbcType=VARCHAR},
sort = #{sort,jdbcType=INTEGER},
status = #{status,jdbcType=INTEGER},
read_number = #{readNumber,jdbcType=INTEGER},
background = #{background,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
model_list = #{modelList,jdbcType=LONGVARCHAR},
where id = #{id,jdbcType=INTEGER}
update university_consult set sort = #{sort} where id=#{id}