select id, type, main_order_id, order_id, transaction_id, create_type, create_phone, uid, cartid, odertype, product_id, name, phone, address, make_time, make_hour, reamk, bigtype, num, total_price, good_price, service_price, pay_price, coupon_id, deduction, pay_time, status, is_pause, mark, address_id, sku, worker_id, first_worker_id, receive_time, is_comment, receive_type, is_accept, middle_phone, user_phone, worker_phone, address_en, uid_admin, address_admin, log_status, log_json, json_status, log_images, file_data, created_at, updated_at, deleted_at from order_data insert into order_data type, main_order_id, order_id, transaction_id, create_type, create_phone, uid, product_id, name, phone, address, make_time, make_hour, num, total_price, good_price, service_price, pay_price, coupon_id, deduction, pay_time, status, is_pause, mark, address_id, sku, worker_id, first_worker_id, receive_time, is_comment, receive_type, is_accept, middle_phone, user_phone, worker_phone, address_en, uid_admin, address_admin, log_status, log_json, json_status, log_images, deleted_at, file_data, odertype, reamk, cartid, bigtype, created_at, updated_at #{type}, #{mainOrderId}, #{orderId}, #{transactionId}, #{createType}, #{createPhone}, #{uid}, #{productId}, #{name}, #{phone}, #{address}, #{makeTime}, #{makeHour}, #{num}, #{totalPrice}, #{goodPrice}, #{servicePrice}, #{payPrice}, #{couponId}, #{deduction}, #{payTime}, #{status}, #{isPause}, #{mark}, #{addressId}, #{sku}, #{workerId}, #{firstWorkerId}, #{receiveTime}, #{isComment}, #{receiveType}, #{isAccept}, #{middlePhone}, #{userPhone}, #{workerPhone}, #{addressEn}, #{uidAdmin}, #{addressAdmin}, #{logStatus}, #{logJson}, #{jsonStatus}, #{logImages}, #{deletedAt}, #{fileData}, #{odertype}, #{reamk}, #{cartid}, #{bigtype}, NOW(), NOW() update order_data type = #{type}, main_order_id = #{mainOrderId}, file_data = #{fileData}, bigtype = #{bigtype}, order_id = #{orderId}, transaction_id = #{transactionId}, create_type = #{createType}, create_phone = #{createPhone}, uid = #{uid}, product_id = #{productId}, odertype = #{odertype}, name = #{name}, phone = #{phone}, address = #{address}, make_time = #{makeTime}, make_hour = #{makeHour}, num = #{num}, total_price = #{totalPrice}, good_price = #{goodPrice}, service_price = #{servicePrice}, pay_price = #{payPrice}, coupon_id = #{couponId}, deduction = #{deduction}, pay_time = #{payTime}, status = #{status}, is_pause = #{isPause}, mark = #{mark}, address_id = #{addressId}, sku = #{sku}, worker_id = #{workerId}, first_worker_id = #{firstWorkerId}, receive_time = #{receiveTime}, is_comment = #{isComment}, receive_type = #{receiveType}, is_accept = #{isAccept}, middle_phone = #{middlePhone}, user_phone = #{userPhone}, worker_phone = #{workerPhone}, address_en = #{addressEn}, uid_admin = #{uidAdmin}, address_admin = #{addressAdmin}, log_status = #{logStatus}, log_json = #{logJson}, json_status = #{jsonStatus}, log_images = #{logImages}, deleted_at = #{deletedAt}, reamk = #{reamk}, cartid = #{cartid}, updated_at = NOW() where id = #{id} delete from order_data where id = #{id} delete from order_data where id in #{id}