select id, form_id, task_id from sys_task_form insert into sys_task_form form_id, task_id, #{formId}, #{taskId}, update sys_task_form form_id = #{formId}, task_id = #{taskId}, where id = #{id} delete from sys_task_form where id = #{id} delete from sys_task_form where id in #{id}