“我的产品中增加类目筛选”的版本间的差异

来自qingwei personal wiki
跳转至: 导航搜索
新产品表
dwp_en_dm_vip_compcate_d
第41行: 第41行:
 
== 数据支持 ==
 
== 数据支持 ==
 
=== dwp_en_dm_vip_compcate_d ===
 
=== dwp_en_dm_vip_compcate_d ===
* dwp_en_dm_vip_compcate_d
+
==== 建表 ====
 
<source lang="sql">
 
<source lang="sql">
 
create table `sc_alidata_[0000-0015].dwp_en_dm_vip_compcate_d_[[0000-0216]]` (
 
create table `sc_alidata_[0000-0015].dwp_en_dm_vip_compcate_d_[[0000-0216]]` (
第56行: 第56行:
 
   key `idx_admin_mbr_id` (stat_date,admin_mbr_seq)
 
   key `idx_admin_mbr_id` (stat_date,admin_mbr_seq)
 
) default charset=utf8mb4 comment='每个分区包含公司发布商品的行业指标';
 
) default charset=utf8mb4 comment='每个分区包含公司发布商品的行业指标';
 +
</source>
 +
==== 数据查询 ====
 +
* 数据在 sc_alidata_0008, dwp_en_dm_vip_compcate_d_0026
 +
<source lang="sql">
 +
SELECT * FROM `dwp_en_dm_vip_compcate_d_0026` WHERE admin_mbr_id = 'aliqatest01'
 
</source>
 
</source>
  

2018年10月18日 (四) 07:17的版本

后台接口支持类目树筛选

RPC接口

接口

vip/product/getLvl3Cate

业务流
http://oneness2.alibaba-inc.com/businessFlow?moduleId=114&interfaceId=2577&group=alidata

HSF测试

[
  "vip/product/getLvl3Cate",
  {
    "adminMemberSeq": "14",
    "statDate": "2018-10-13"
  }
]

三级类目树筛选,后端接口

RPC接口

  • 接口
vip/product/getEffectiveProducts
  • 业务流

http://oneness2.alibaba-inc.com/businessFlow?moduleId=114&interfaceId=1919&group=alidata

HSF测试

[
  "vip/product/getEffectiveProducts",
  {
    "adminMemberSeq": "200042360",
    "statDate": "2018-10-13",
    "statisticsType": "day",
    "level3CateId": "1458"
  }
]

数据支持

dwp_en_dm_vip_compcate_d

建表

create table `sc_alidata_[0000-0015].dwp_en_dm_vip_compcate_d_[[0000-0216]]` (
  `id` bigint  not null auto_increment comment '主键',
  `stat_date` date comment '统计日期',
  `admin_mbr_seq` bigint comment '会员SEQ',
  `admin_mbr_id` varchar(100) comment '会员ID',
  `comp_id` bigint comment '公司ID',
  `cate_id` bigint comment '产品发布类目ID【关联维表icbucdm.dim_en_pcate_v】【关联键cate_id】',
  `itm_cnt_std_009` bigint comment '历史截至当日商品数',
  `rank_std_001` bigint comment '历史截止当日商品数排序',
  `cate_desc` varchar(200) comment '行业描述',
  primary key (id),
  key `idx_admin_mbr_id` (stat_date,admin_mbr_seq)
) default charset=utf8mb4 comment='每个分区包含公司发布商品的行业指标';

数据查询

  • 数据在 sc_alidata_0008, dwp_en_dm_vip_compcate_d_0026
SELECT * FROM `dwp_en_dm_vip_compcate_d_0026` WHERE admin_mbr_id = 'aliqatest01'

新产品表

  • dwp_en_dm_vip_prod_eff_d