|
|
|
@@ -5,11 +5,15 @@ type = 1 pay_vendor = 12 |
|
|
|
type = 3 pay_vendor = 13 |
|
|
|
type = 4 pay_vendor = 1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
update wx_order set pay_vendor = 11 where type = 10; |
|
|
|
update wx_order set pay_vendor = 12 where type = 1; |
|
|
|
update wx_order set pay_vendor = 13 where type = 3; |
|
|
|
update wx_order set pay_vendor = 1 where type = 4; |
|
|
|
|
|
|
|
type = 0 pay_vendor = 1???根据wx_coupon_order pay_vendor |
|
|
|
|
|
|
|
update wx_order o left join wx_coupon_order co on co.order_id = o.id set o.pay_vendor = co.pay_vendor where o.type = 0; |
|
|
|
|
|
|
|
|
|
|
|
ALTER TABLE `mallink`.`wx_order_0` |
|
|
|
ADD COLUMN `pay_vendor` smallint(3) COMMENT '订单渠道,EnumPayWay.class' AFTER `type`; |
|
|
|
|