insert into mall_order
(
`order_sn`,
`user_id`,
`order_status`,
`shipping_status`,
`shipping_code`,
`pay_status`,
`consignee`,
`country`,
`province`,
`city`,
`district`,
`address`,
`address_id`,
`mobile`,
`postscript`,
`pay_id`,
`pay_name`,
`shipping_fee`,
`actual_price`,
`cash_fee`,
`cash_fee_type`,
`total_fee`,
`fee_type`,
`rate`,
`integral`,
`integral_money`,
`order_price`,
`goods_price`,
`add_time`,
`confirm_time`,
`pay_time`,
`freight_price`,
`coupon_id`,
`coupon_price`,
`full_cut_price`,
`order_type`,
`activity_id`,
`store_id`,
`delivery_date`,
`delivery_remark`,
`predict_time`,
`coupon_name`,
`comment_count`,
merch_sn,
merch_order_sn,
is_scan,
is_merge_pay,
order_biz_type,
pay_transaction_id,
pay_mobile,
buyer_pay_check,
`is_onffline_order`,
pay_flag,
creater_sn,
create_time,
moder_sn,
mod_time
)
values
(
#{order_sn},
#{user_id},
#{order_status},
#{shipping_status},
#{shipping_code},
#{pay_status},
#{consignee},
#{country},
#{province},
#{city},
#{district},
#{address},
#{address_id},
#{mobile},
#{postscript},
#{pay_id},
#{pay_name},
#{shipping_fee},
#{actual_price},
#{cashFee},
#{cashFeeType},
#{totalFee},
#{feeType},
#{rate},
#{integral},
#{integral_money},
#{order_price},
#{goods_price},
now(),
#{confirm_time},
#{pay_time},
#{freight_price},
#{coupon_id},
#{coupon_price},
#{full_cut_price},
#{order_type},
#{activity_id},
#{store_id},
#{delivery_date},
#{delivery_remark},
#{predict_time},
#{coupon_name},
#{comment_count},
#{merchSn},
#{merchOrderSn},
#{isScan},
#{isMergePay},
#{orderBizType,jdbcType=CHAR},
#{payTransactionId},
#{payMobile},
#{buyerPayCheck},
#{isOnfflineOrder},
#{payFlag},
#{createrSn},
#{createTime},
#{moderSn},
#{modTime}
)
insert into mall_order
(
`order_sn`,
`user_id`,
`order_status`,
`shipping_status`,
`shipping_code`,
`pay_status`,
`consignee`,
`country`,
`province`,
`city`,
`district`,
`address`,
`address_id`,
`mobile`,
`postscript`,
`pay_id`,
`pay_name`,
`shipping_fee`,
`actual_price`,
`cash_fee`,
`cash_fee_type`,
`total_fee`,
`fee_type`,
`rate`,
`integral`,
`integral_money`,
`order_price`,
`goods_price`,
`add_time`,
`confirm_time`,
`pay_time`,
`freight_price`,
`coupon_id`,
`coupon_price`,
`full_cut_price`,
`order_type`,
`activity_id`,
`store_id`,
`delivery_date`,
`delivery_remark`,
`predict_time`,
`coupon_name`,
`comment_count`,
merch_sn,
merch_order_sn,
is_scan,
is_merge_pay,
order_biz_type,
`is_onffline_order`,
pay_transaction_id,
pay_mobile,
create_time,
mod_time
)
values
(
#{orderInfo.order_sn},
#{orderInfo.user_id},
#{orderInfo.order_status},
#{orderInfo.shipping_status},
#{orderInfo.shipping_code},
#{orderInfo.pay_status},
#{orderInfo.consignee},
#{orderInfo.country},
#{orderInfo.province},
#{orderInfo.city},
#{orderInfo.district},
#{orderInfo.address},
#{orderInfo.address_id},
#{orderInfo.mobile},
#{orderInfo.postscript},
#{orderInfo.pay_id},
#{orderInfo.pay_name},
#{orderInfo.shipping_fee},
#{orderInfo.actual_price},
#{orderInfo.cashFee},
#{orderInfo.cashFeeType},
#{orderInfo.totalFee},
#{orderInfo.feeType},
#{orderInfo.rate},
#{orderInfo.integral},
#{orderInfo.integral_money},
#{orderInfo.order_price},
#{orderInfo.goods_price},
now(),
#{orderInfo.confirm_time},
#{orderInfo.pay_time},
#{orderInfo.freight_price},
#{orderInfo.coupon_id},
#{orderInfo.coupon_price},
#{orderInfo.full_cut_price},
#{orderInfo.order_type},
#{orderInfo.activity_id},
#{orderInfo.store_id},
#{orderInfo.delivery_date},
#{orderInfo.delivery_remark},
#{orderInfo.predict_time},
#{orderInfo.coupon_name},
#{orderInfo.comment_count},
#{orderInfo.merchSn},
#{orderInfo.merchOrderSn},
#{orderInfo.isScan},
#{orderInfo.isMergePay},
#{orderInfo.orderBizType,jdbcType=CHAR},
#{orderInfo.isOnfflineOrder},
#{orderInfo.payTransactionId},
#{orderInfo.payMobile},
#{orderInfo.createTime},
#{orderInfo.modTime}
)
update mall_order
`order_sn` = #{order_sn},
`user_id` = #{user_id},
`order_status` = #{order_status},
`shipping_status` = #{shipping_status},
`shipping_code` = #{shipping_code},
`pay_status` = #{pay_status},
`consignee` = #{consignee},
`country` = #{country},
`province` = #{province},
`city` = #{city},
`district` = #{district},
`address` = #{address},
`address_id` = #{address_id},
`mobile` = #{mobile},
`postscript` = #{postscript},
`shipping_id` = #{shipping_id},
`shipping_name` = #{shipping_name},
`shipping_fee` = #{shipping_fee},
`shipping_no` = #{shipping_no},
`pay_id` = #{pay_id},
`pay_name` = #{pay_name},
`pay_time` = #{pay_time},
`actual_price` = #{actual_price},
`cash_fee` = #{cashFee},
`cash_fee_type` = #{cashFeeType},
`total_fee` = #{totalFee},
`fee_type` = #{feeType},
`rate` = #{rate},
`integral` = #{integral},
`integral_money` = #{integral_money},
`order_price` = #{order_price},
`goods_price` = #{goods_price},
`confirm_time` = #{confirm_time},
`freight_price` = #{freight_price},
`coupon_id` = #{coupon_id},
`coupon_price` = #{coupon_price},
`full_cut_price` = #{full_cut_price},
`order_type` = #{order_type},
`activity_id` = #{activity_id},
`store_id` = #{store_id},
`shipping_mobile` = #{shipping_mobile},
`delivery_date` = #{delivery_date},
`delivery_remark` = #{delivery_remark},
`predict_time` = #{predict_time},
`coupon_name` = #{coupon_name},
`comment_count` = #{comment_count},
merch_sn = #{merchSn},
merch_order_sn = #{merchOrderSn},
is_scan = #{isScan},
is_merge_pay = #{isMergePay},
order_biz_type = #{orderBizType,jdbcType=CHAR},
pay_transaction_id = #{payTransactionId},
pay_mobile = #{payMobile},
buyer_pay_check = #{buyerPayCheck},
pay_flag = #{payFlag},
creater_sn = #{createrSn},
create_time = #{createTime},
moder_sn = #{moderSn},
mod_time = #{modTime},
where id = #{id}
update mall_order
`order_sn` = #{oderInfo.order_sn},
`user_id` = #{oderInfo.user_id},
`order_status` = #{oderInfo.order_status},
`shipping_status` = #{oderInfo.shipping_status},
`shipping_code` = #{oderInfo.shipping_code},
`pay_status` = #{oderInfo.pay_status},
`consignee` = #{oderInfo.consignee},
`country` = #{oderInfo.country},
`province` = #{oderInfo.province},
`city` = #{oderInfo.city},
`district` = #{oderInfo.district},
`address` = #{oderInfo.address},
`address_id` = #{oderInfo.address_id},
`mobile` = #{oderInfo.mobile},
`postscript` = #{oderInfo.postscript},
`shipping_id` = #{oderInfo.shipping_id},
`shipping_name` = #{oderInfo.shipping_name},
`shipping_fee` = #{oderInfo.shipping_fee},
`shipping_no` = #{oderInfo.shipping_no},
`pay_id` = #{oderInfo.pay_id},
`pay_name` = #{oderInfo.pay_name},
`pay_time` = #{oderInfo.pay_time},
`actual_price` = #{oderInfo.actual_price},
`integral` = #{oderInfo.integral},
`integral_money` = #{oderInfo.integral_money},
`order_price` = #{oderInfo.order_price},
`goods_price` = #{oderInfo.goods_price},
`confirm_time` = #{oderInfo.confirm_time},
`freight_price` = #{oderInfo.freight_price},
`coupon_id` = #{oderInfo.coupon_id},
`coupon_price` = #{oderInfo.coupon_price},
`full_cut_price` = #{oderInfo.full_cut_price},
`order_type` = #{oderInfo.order_type},
`activity_id` = #{oderInfo.activity_id},
`store_id` = #{oderInfo.store_id},
`shipping_mobile` = #{oderInfo.shipping_mobile},
`delivery_date` = #{oderInfo.delivery_date},
`delivery_remark` = #{oderInfo.delivery_remark},
`predict_time` = #{oderInfo.predict_time},
`coupon_name` = #{oderInfo.coupon_name},
`comment_count` = #{oderInfo.comment_count},
merch_sn = #{oderInfo.merchSn},
merch_order_sn = #{oderInfo.merchOrderSn},
is_scan = #{oderInfo.isScan},
is_merge_pay = #{oderInfo.isMergePay},
order_biz_type = #{oderInfo.orderBizType},
pay_transaction_id = #{oderInfo.payTransactionId},
pay_mobile = #{oderInfo.payMobile},
buyer_pay_check = #{oderInfo.buyerPayCheck},
pay_flag = #{oderInfo.payFlag},
creater_sn = #{oderInfo.createrSn},
create_time = #{oderInfo.createTime},
moder_sn = #{oderInfo.moderSn},
mod_time = #{oderInfo.modTime},
where id = #{oderInfo.id}
update mall_order
`order_status` = #{order_status},
`shipping_status` = #{shipping_status},
`shipping_code` = #{shipping_code},
`shipping_id` = #{shipping_id},
`shipping_name` = #{shipping_name},
`shipping_fee` = #{shipping_fee},
`shipping_no` = #{shipping_no},
`shipping_mobile` = #{shipping_mobile}
where id = #{id}
update mall_order
`order_sn` = #{order_sn},
`user_id` = #{user_id},
`order_status` = #{order_status},
`shipping_status` = #{shipping_status},
`shipping_code` = #{shipping_code},
`pay_status` = #{pay_status},
`consignee` = #{consignee},
`country` = #{country},
`province` = #{province},
`city` = #{city},
`district` = #{district},
`address` = #{address},
`address_id` = #{address_id},
`mobile` = #{mobile},
`postscript` = #{postscript},
`shipping_id` = #{shipping_id},
`shipping_name` = #{shipping_name},
`shipping_fee` = #{shipping_fee},
`shipping_no` = #{shipping_no},
`pay_id` = #{pay_id},
`pay_name` = #{pay_name},
`pay_time` = #{pay_time},
`actual_price` = #{actual_price},
`integral` = #{integral},
`integral_money` = #{integral_money},
`order_price` = #{order_price},
`goods_price` = #{goods_price},
`confirm_time` = #{confirm_time},
`freight_price` = #{freight_price},
`coupon_id` = #{coupon_id},
`coupon_price` = #{coupon_price},
`full_cut_price` = #{full_cut_price},
`order_type` = #{order_type},
`activity_id` = #{activity_id},
`store_id` = #{store_id},
`shipping_mobile` = #{shipping_mobile},
`delivery_date` = #{delivery_date},
`delivery_remark` = #{delivery_remark},
`predict_time` = #{predict_time},
`coupon_name` = #{coupon_name},
`comment_count` = #{comment_count},
merch_sn = #{merchSn},
is_scan = #{isScan},
is_merge_pay = #{isMergePay},
order_biz_type = #{orderBizType,jdbcType=CHAR},
pay_transaction_id = #{payTransactionId},
pay_mobile = #{payMobile},
buyer_pay_check = #{buyerPayCheck},
pay_flag = #{payFlag},
creater_sn = #{createrSn},
create_time = #{createTime},
moder_sn = #{moderSn},
mod_time = #{modTime},
where merch_order_sn = #{merchOrderSn}