Showing
1 changed file
with
9 additions
and
10 deletions
1 | -ALTER TABLE erp_product.storage ADD `upm_code` VARCHAR(100) DEFAULT '' COMMENT 'upm条码'; | ||
2 | -ALTER TABLE erp_supplier.base_single ADD `upm_code` VARCHAR(100) DEFAULT '' COMMENT 'upm条码'; | 1 | +ALTER TABLE erp_product.storage ADD `upm_code` VARCHAR(100) DEFAULT '' COMMENT 'upm条码'; -- 平台化二期优化 |
2 | +ALTER TABLE erp_supplier.base_single ADD `upm_code` VARCHAR(100) DEFAULT '' COMMENT 'upm条码'; | ||
3 | +create index product_factory_code on erp_product.product(factory_code); | ||
4 | + | ||
5 | +-- 退换货 | ||
6 | +alter table erp_product.product_sort add COLUMN is_refund_exchange tinyint(1) unsigned NOT NULL DEFAULT '1'; | ||
7 | +alter table yh_shops.product_sort add COLUMN is_refund_exchange tinyint(1) unsigned NOT NULL DEFAULT '1'; | ||
8 | + | ||
3 | 9 | ||
4 | -- 定时变价 | 10 | -- 定时变价 |
5 | ALTER TABLE erp_product.product_price ADD effective_time INT COMMENT '生效时间'; | 11 | ALTER TABLE erp_product.product_price ADD effective_time INT COMMENT '生效时间'; |
@@ -7,14 +13,7 @@ ALTER TABLE erp_product.product_price ADD cgprice_start_time INT(10) COMMENT 'å | @@ -7,14 +13,7 @@ ALTER TABLE erp_product.product_price ADD cgprice_start_time INT(10) COMMENT 'å | ||
7 | ALTER TABLE erp_product.product_price ADD cgprice_end_time INT(10) COMMENT '变价结束时间'; | 13 | ALTER TABLE erp_product.product_price ADD cgprice_end_time INT(10) COMMENT '变价结束时间'; |
8 | ALTER TABLE erp_product.product_price ADD tmp_cgprice_status SMALLINT(6) COMMENT '临时变价是否结束'; | 14 | ALTER TABLE erp_product.product_price ADD tmp_cgprice_status SMALLINT(6) COMMENT '临时变价是否结束'; |
9 | 15 | ||
10 | - | ||
11 | -alter table erp_product.product_sort add COLUMN is_refund_exchange tinyint(1) unsigned NOT NULL DEFAULT '1'; | ||
12 | -alter table yh_shops.product_sort add COLUMN is_refund_exchange tinyint(1) unsigned NOT NULL DEFAULT '1'; | ||
13 | - | ||
14 | - | ||
15 | -create index product_factory_code on erp_product.product(factory_code); | ||
16 | - | ||
17 | - | 16 | +-- 定时变价 |
18 | ALTER TABLE erp_product.product_price ADD change_price_type SMALLINT (6); | 17 | ALTER TABLE erp_product.product_price ADD change_price_type SMALLINT (6); |
19 | 18 | ||
20 | CREATE TABLE `erp_product`.`product_price_plan` ( | 19 | CREATE TABLE `erp_product`.`product_price_plan` ( |
-
Please register or login to post a comment