INSERT INTO
t_self_practice(user_id, remark, subjects, practice_type, create_time, update_time, deleted)
VALUE
(#{userId}, #{remark}, #{subjects}, #{practiceType}, #{createTime}, #{updateTime}, #{deleted})
UPDATE
t_self_practice
SET deleted = 1
WHERE
id IN #{id}