DDL
CREATE TABLE `53` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '自增id',
`orderId` int(11) NOT NULL COMMENT '订单ID',
`goodsId` int(11) NOT NULL COMMENT '商品id',
`goodsNum` int(11) DEFAULT '0' COMMENT '商品数量',
`goodsPrice` decimal(11,0) NOT NULL DEFAULT '0' COMMENT '商品价格',
`goodsSpecId` int(11) DEFAULT '0' COMMENT '商品规格ID',
`goodsSpecNames` varchar(500) DEFAULT NULL COMMENT '商品规格列表',
`goodsName` varchar(200) NOT NULL COMMENT '商品名称',
`goodsImg` varchar(150) NOT NULL COMMENT '商品图',
`commissionRate` decimal(11,0) DEFAULT '0' COMMENT '商品佣金比率',
`extraJson` text COMMENT '额外信息',
`commission` decimal(11,0) DEFAULT '0' COMMENT '分销佣金',
`goodsCode` varchar(20) DEFAULT NULL COMMENT '商品标记',
`scoreMoney` decimal(11,0) NOT NULL DEFAULT '0' COMMENT '积分抵扣金额',
`getScoreVal` int(10) NOT NULL DEFAULT '0' COMMENT '购买商品积分数',
`getScoreMoney` decimal(11,0) NOT NULL DEFAULT '0' COMMENT '获得的积分数可抵扣的金额',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;