select id, work_id, dept_id, customer_id, dept_category_id, selection_type, create_by, create_time, update_by, update_time, remark from customer_selection insert into customer_selection work_id, dept_id, customer_id, dept_category_id, selection_type, create_by, create_time, update_by, update_time, remark, #{workId}, #{deptId}, #{customerId}, #{deptCategoryId}, #{selectionType}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, #{remark}, update customer_selection work_id = #{workId}, dept_id = #{deptId}, customer_id = #{customerId}, dept_category_id = #{deptCategoryId}, selection_type = #{selectionType}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, remark = #{remark}, where id = #{id} delete from customer_selection where id = #{id} delete from customer_selection where id in #{id}