select id, order_no, user_id, order_type, post_fee, order_price, payment, discount_price, commission_price, goods_num, goods_weight, goods_volume, delivery_type, status, is_pay, pay_type, is_proof, pay_proof, is_car, car_video, order_user_id, create_at, proof_at, pay_at, is_examine, examine_at, is_finance, finance_examine_at, receive_at, car_at, enter_at, return_at, cancel_at, complete_at, shipping_mark, shipping_name, shipping_code, is_refund, sender_address_id, receiver_address_id, sender_name, sender_phone, sender_province, sender_city, sender_area, sender_address, receiver_name, receiver_phone, receiver_province, receiver_city, receiver_area, receiver_address, is_change_address, year, month, day, res_id, res_name, salesman_id, company_manage_id, warehouse_manage_id, finance_id, buyer_msg, remarks, content, del_flag from mall_app_order_order
insert into mall_app_order_order
order_no,
user_id,
order_type,
post_fee,
order_price,
payment,
discount_price,
commission_price,
goods_num,
goods_weight,
goods_volume,
delivery_type,
status,
is_pay,
pay_type,
is_proof,
pay_proof,
is_car,
car_video,
order_user_id,
create_at,
proof_at,
pay_at,
is_examine,
examine_at,
is_finance,
finance_examine_at,
receive_at,
car_at,
enter_at,
return_at,
cancel_at,
complete_at,
shipping_mark,
shipping_name,
shipping_code,
is_refund,
sender_address_id,
receiver_address_id,
sender_name,
sender_phone,
sender_province,
sender_city,
sender_area,
sender_address,
receiver_name,
receiver_phone,
receiver_province,
receiver_city,
receiver_area,
receiver_address,
is_change_address,
year,
month,
day,
res_id,
res_name,
salesman_id,
company_manage_id,
warehouse_manage_id,
finance_id,
buyer_msg,
remarks,
content,
del_flag,
#{orderNo},
#{userId},
#{orderType},
#{postFee},
#{orderPrice},
#{payment},
#{discountPrice},
#{commissionPrice},
#{goodsNum},
#{goodsWeight},
#{goodsVolume},
#{deliveryType},
#{status},
#{isPay},
#{payType},
#{isProof},
#{payProof},
#{isCar},
#{carVideo},
#{orderUserId},
#{createAt},
#{proofAt},
#{payAt},
#{isExamine},
#{examineAt},
#{isFinance},
#{financeExamineAt},
#{receiveAt},
#{carAt},
#{enterAt},
#{returnAt},
#{cancelAt},
#{completeAt},
#{shippingMark},
#{shippingName},
#{shippingCode},
#{isRefund},
#{senderAddressId},
#{receiverAddressId},
#{senderName},
#{senderPhone},
#{senderProvince},
#{senderCity},
#{senderArea},
#{senderAddress},
#{receiverName},
#{receiverPhone},
#{receiverProvince},
#{receiverCity},
#{receiverArea},
#{receiverAddress},
#{isChangeAddress},
#{year},
#{month},
#{day},
#{resId},
#{resName},
#{salesmanId},
#{companyManageId},
#{warehouseManageId},
#{financeId},
#{buyerMsg},
#{remarks},
#{content},
#{delFlag},
update mall_app_order_order
order_no = #{orderNo},
user_id = #{userId},
order_type = #{orderType},
post_fee = #{postFee},
order_price = #{orderPrice},
payment = #{payment},
discount_price = #{discountPrice},
commission_price = #{commissionPrice},
goods_num = #{goodsNum},
goods_weight = #{goodsWeight},
goods_volume = #{goodsVolume},
delivery_type = #{deliveryType},
status = #{status},
is_pay = #{isPay},
pay_type = #{payType},
is_proof = #{isProof},
pay_proof = #{payProof},
is_car = #{isCar},
car_video = #{carVideo},
order_user_id = #{orderUserId},
create_at = #{createAt},
proof_at = #{proofAt},
pay_at = #{payAt},
is_examine = #{isExamine},
examine_at = #{examineAt},
is_finance = #{isFinance},
finance_examine_at = #{financeExamineAt},
receive_at = #{receiveAt},
car_at = #{carAt},
enter_at = #{enterAt},
return_at = #{returnAt},
cancel_at = #{cancelAt},
complete_at = #{completeAt},
shipping_mark = #{shippingMark},
shipping_name = #{shippingName},
shipping_code = #{shippingCode},
is_refund = #{isRefund},
sender_address_id = #{senderAddressId},
receiver_address_id = #{receiverAddressId},
sender_name = #{senderName},
sender_phone = #{senderPhone},
sender_province = #{senderProvince},
sender_city = #{senderCity},
sender_area = #{senderArea},
sender_address = #{senderAddress},
receiver_name = #{receiverName},
receiver_phone = #{receiverPhone},
receiver_province = #{receiverProvince},
receiver_city = #{receiverCity},
receiver_area = #{receiverArea},
receiver_address = #{receiverAddress},
is_change_address = #{isChangeAddress},
year = #{year},
month = #{month},
day = #{day},
res_id = #{resId},
res_name = #{resName},
salesman_id = #{salesmanId},
company_manage_id = #{companyManageId},
warehouse_manage_id = #{warehouseManageId},
finance_id = #{financeId},
buyer_msg = #{buyerMsg},
remarks = #{remarks},
content = #{content},
del_flag = #{delFlag},
where id = #{id}
update mall_app_order_order set del_flag = '1' where id = #{id}
update mall_app_order_order set del_flag = '1' where id in
#{id}