select quote_id, quote_code, quote_name, calc_type, post_type, trans_type, bl_open, emp_code, emp_name, start_date, end_date, priority_level, remark, tenant_id, del_flag, create_by, create_time, update_by, update_time, create_site, update_site from emis_commission_quote insert into emis_commission_quote quote_id, quote_code, quote_name, calc_type, post_type, trans_type, bl_open, emp_code, emp_name, start_date, end_date, priority_level, remark, tenant_id, del_flag, create_by, create_time, update_by, update_time, create_site, update_site, #{quoteId}, #{quoteCode}, #{quoteName}, #{calcType}, #{postType}, #{transType}, #{blOpen}, #{empCode}, #{empName}, #{startDate}, #{endDate}, #{priorityLevel}, #{remark}, #{tenantId}, #{delFlag}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, #{createSite}, #{updateSite}, update emis_commission_quote quote_code = #{quoteCode}, quote_name = #{quoteName}, calc_type = #{calcType}, post_type = #{postType}, trans_type = #{transType}, bl_open = #{blOpen}, emp_code = #{empCode}, emp_name = #{empName}, start_date = #{startDate}, end_date = #{endDate}, priority_level = #{priorityLevel}, remark = #{remark}, tenant_id = #{tenantId}, del_flag = #{delFlag}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, create_site = #{createSite}, update_site = #{updateSite}, where quote_id = #{quoteId} delete from emis_commission_quote where quote_id = #{quoteId} delete from emis_commission_quote where quote_id in #{quoteId}