#-----------------创建表--- kj_mall_goods_parts
DROP TABLE IF EXISTS `{DB_PRE}mall_goods_parts`;
CREATE TABLE IF NOT EXISTS `{DB_PRE}mall_goods_parts` (
`parts_id` int(10) NOT NULL auto_increment,`parts_discount` float(10,2) NOT NULL COMMENT '价格或金额',`parts_discount_type` tinyint(1) NOT NULL COMMENT '优惠模式，0:金额,1:折扣',`parts_name` varchar(50) NOT NULL COMMENT '名称',`parts_format_ids` varchar(255) NOT NULL COMMENT '配件规格商品集',`parts_goods_id` int(10) NOT NULL COMMENT '所属商品',PRIMARY KEY (`parts_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1

