INSERT INTO t_online_study(content_type, content_url, belong_type, subject, create_time, update_time,
attachment)
value (#{form.contentType}, #{form.contentUrl}, #{form.belongType}, #{form.subject}, #{form.createTime}, #{form.updateTime}, #{form.attachment})
UPDATE
t_online_study
content_type = #{form.contentType},
content_url = #{form.contentUrl},
belong_type = #{form.belongType},
subject = #{form.subject},
update_time = #{form.updateTime},
attachment = #{form.attachment}
WHERE
id = #{form.id}
UPDATE t_online_study SET deleted = 1 WHERE id IN
#{id}