select instance_activity_id, lube_instance_id, process_activity_id, lube_group, lube_supervisor, lube_level, process_handle_resolution, remark, process_handle_status, process_step_order, start_time, end_time, handle_user_id, handle_by, handle_time, create_by, create_time, transfer_user_id, attr1 from dms_bills_lube_instance_activity insert into dms_bills_lube_instance_activity lube_instance_id, process_activity_id, lube_group, lube_supervisor, lube_level, process_handle_resolution, remark, process_handle_status, process_step_order, start_time, end_time, handle_user_id, handle_by, handle_time, create_by, create_time, transfer_user_id, attr1, #{lubeInstanceId}, #{processActivityId}, #{lubeGroup}, #{lubeSupervisor}, #{lubeLevel}, #{processHandleResolution}, #{remark}, #{processHandleStatus}, #{processStepOrder}, #{startTime}, #{endTime}, #{handleUserId}, #{handleBy}, #{handleTime}, #{createBy}, #{createTime}, #{transferUserId}, #{attr1}, update dms_bills_lube_instance_activity lube_instance_id = #{lubeInstanceId}, process_activity_id = #{processActivityId}, lube_group = #{lubeGroup}, lube_supervisor = #{lubeSupervisor}, lube_level = #{lubeLevel}, process_handle_resolution = #{processHandleResolution}, remark = #{remark}, process_handle_status = #{processHandleStatus}, process_step_order = #{processStepOrder}, start_time = #{startTime}, end_time = #{endTime}, handle_user_id = #{handleUserId}, handle_by = #{handleBy}, handle_time = #{handleTime}, create_by = #{createBy}, create_time = #{createTime}, transfer_user_id = #{transferUserId}, attr1 = #{attr1}, where instance_activity_id = #{instanceActivityId} delete from dms_bills_lube_instance_activity where instance_activity_id = #{instanceActivityId} delete from dms_bills_lube_instance_activity where instance_activity_id in #{instanceActivityId}