Authored by 马力

Update dev630.sql

... ... @@ -12,4 +12,35 @@ alter table erp_product.product_sort add COLUMN is_refund_exchange tinyint(1) un
alter table yh_shops.product_sort add COLUMN is_refund_exchange tinyint(1) unsigned NOT NULL DEFAULT '1';
create index product_factory_code on erp_product.product(factory_code);
\ No newline at end of file
create index product_factory_code on erp_product.product(factory_code);
ALTER TABLE erp_product.product_price ADD change_price_type SMALLINT (6);
CREATE TABLE `erp_product`.`product_price_plan` (
`id` INT (11),
`product_skn` INT (11),
`retail_price` DECIMAL (13),
`sales_price` DECIMAL (13),
`vip_price` DECIMAL (13),
`vip1_price` DECIMAL (13),
`vip2_price` DECIMAL (13),
`vip3_price` DECIMAL (13),
`vip_discount_type` TINYINT (3),
`purchase_price` DECIMAL (13),
`purchase_discount` DECIMAL (5),
`cost_price` DECIMAL (13),
`return_coin` INT (11),
`founder` INT (11),
`enable_vip` TINYINT (3),
`create_time` INT (10),
`update_time` INT (10),
`sys_status` SMALLINT (6),
`coin_status` TINYINT (3),
`auditor_id` INT (11),
`cgprice_start_time` INT (10),
`cgprice_end_time` INT (10),
`tmp_cgprice_status` SMALLINT (6),
`effective_time` INT (11),
`change_price_type` SMALLINT (6)
);
\ No newline at end of file
... ...