项目

一般

简介

需求 #18334

马俊雄 更新于 将近 5 年 之前

<p>字段:供应商id,三级品类id,二级市场id,价格区间,销售额,销量,&nbsp; 数据统计日期</p>

<p>价格区间指的是(10-20,20-30)这种 格式要求,如价格区间为(10,20],则实际写入值为 (10-20]</p> <p>价格区间指的是(10-20,20-30)这种</p>

<p>技术对接人:马俊雄</p>

<p>&nbsp;</p>

<p>CREATE TABLE `fmys_cat_sales_data_by_supply` (<br />
&nbsp; `dt` date NOT NULL COMMENT &#39;数据统计日期&#39;,<br />
&nbsp; `supply_id` int(10) unsigned NOT NULL DEFAULT &#39;0&#39; COMMENT &#39;关联供应商ID,0为大盘数据&#39;,<br />
&nbsp; `cat_id` int(10) NOT NULL DEFAULT &#39;0&#39; COMMENT &#39;分类id&#39;,<br />
&nbsp; `market_id` varchar(60) NOT NULL DEFAULT &#39;0&#39; COMMENT &#39;二级市场id&#39;,<br />
&nbsp;&nbsp; &nbsp;`sales_amount` decimal(10,2) NOT NULL DEFAULT &#39;0&#39; COMMENT &#39;销售额&#39;,<br />
&nbsp;&nbsp; &nbsp;`sales` int(10) NOT NULL DEFAULT &#39;0&#39; COMMENT &#39;销量&#39;,<br />
&nbsp;&nbsp; &nbsp;`price_range` varchar(60) NOT NULL DEFAULT &#39;0&#39; COMMENT &#39;价格区间&#39;,<br />
&nbsp; `create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT &#39;数据生成时间&#39;,<br />
&nbsp; `auto_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT &#39;自动时间&#39;,<br />
&nbsp; PRIMARY KEY (`dt`,`supply_id`,`cat_id`)<br />
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT=&#39;我的品类大数据盘,数据组统计,对接人-方秋顺&#39;;</p>

返回

从剪贴板添加图片 (最大尺寸: 50.8 MB)