order_id,product_id,product_name,product_images,product_price,user_id,user_name,user_phone,order_type,
order_status,flaw_img_url,evidence_of_payment,order_remark,estimated_amount,actual_amount,voucher_amount,deleted,
create_time,update_time,is_payed,pay_type,pay_time,delivery_time,finally_time,mall_order_id,send_number
INSERT INTO cue_order
user_id,
product_id,
product_name,
product_images,
product_price,
user_name,
user_phone,
order_type,
order_status,
flaw_img_url,
evidence_of_payment,
order_remark,
estimated_amount,
actual_amount,
voucher_amount,
create_time,
is_payed,
pay_type,
pay_time,
delivery_time,
finally_time,
#{userId},
#{productId},
#{productName},
#{productImages},
#{productPrice},
#{userName},
#{userPhone},
#{orderType},
#{orderStatus},
#{flawImgUrl},
#{evidenceOfPayment},
#{orderRemark},
#{estimatedAmount},
#{actualAmount},
#{voucherAmount},
#{createTime},
#{isPayed},
#{payType},
#{payTime},
#{deliveryTime},
#{finallyTime},
UPDATE cue_order
user_name = #{userName},
user_phone = #{userPhone},
order_type = #{orderType},
order_status = #{orderStatus},
flaw_img_url = #{flawImgUrl},
evidence_of_payment = #{evidenceOfPayment},
order_remark = #{orderRemark},
estimated_amount = #{estimatedAmount},
actual_amount = #{actualAmount},
voucher_amount = #{voucherAmount},
deleted = #{deleted},
update_time = #{updateTime},
is_payed = #{isPayed},
pay_type = #{payType},
pay_time = #{payTime},
delivery_time = #{deliveryTime},
finally_time = #{finallyTime},
mall_order_id = #{mallOrderId},
service_charge = #{serviceCharge},
brokerage = #{brokerage},
send_number = #{sendNumber},
warehouse_id = #{warehouseId},
order_addr_id = #{orderAddrId},
outlet_config_id = #{outletConfigId},
printer_id = #{printerId},
where
order_id = #{orderId}