|
|
|
@@ -20,7 +20,7 @@ ALTER TABLE `wx_offline_activity_item` |
|
|
|
ADD COLUMN `count_model` smallint(1) NULL COMMENT '联单模式' AFTER `tax_points`; |
|
|
|
|
|
|
|
update wx_offline_activity_item set count_model = 1 where type = 3 |
|
|
|
and id in(select distinct activity_item_id form wx_offline_activity_awards_item where `type` = 2); |
|
|
|
and id in(select distinct activity_item_id from wx_offline_activity_awards_item where `type` = 2); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|