“MA切流反馈修复”的版本间的差异

来自qingwei personal wiki
跳转至: 导航搜索
分段功能字段
分段功能字段
第25行: 第25行:
 
! 字段 !! 前端key !! 数据库key (天表) !! 数据库key (周表) !! 类型
 
! 字段 !! 前端key !! 数据库key (天表) !! 数据库key (周表) !! 类型
 
|-
 
|-
| 曝光 || minViews: 20 maxViews: 100 || imps_cnt_1d_027 || BIGINT(20)
+
| 曝光 || minViews: 20 maxViews: 100 || imps_cnt_1d_027 || imps_cnt_1w_027 || BIGINT(20)
 
|-
 
|-
| 点击 || minClicks: 2  maxClicks: 100 || clk_cnt_1d_092 || BIGINT(20)
+
| 点击 || minClicks: 2  maxClicks: 100 || clk_cnt_1d_092 || clk_cnt_1w_092 || BIGINT(20)
 
|-
 
|-
| 点击率 || minClkRate: 22  maxClkRate: 33 || clk_rate_1d_068 || DECIMAL(20,4)  
+
| 点击率 || minClkRate: 22  maxClkRate: 33 || clk_rate_1d_068 || clk_rate_1w_068 || DECIMAL(20,4)  
 
|-
 
|-
| 反馈 || minInquiries: 12 maxInquiries: 24 || fb_cnt_1d_013 || BIGINT(20)
+
| 反馈 || minInquiries: 12 maxInquiries: 24 || fb_cnt_1d_013 || fb_cnt_1w_013 || BIGINT(20)
 
|}
 
|}
  

2019年1月8日 (二) 14:46的版本

首页经营效果中,增加按发布产品拆分指标选项

首页经营效果中,增加按发布产品拆分指标选项

新版产品>产品分析缺失 顶级展位、P4P (前端)

aone

  • 前端问题;增加两个参数: TR, P4P
" 如果没有,不传递参数 "
{
"TR": "TR",
"P4P": "P4P"
}

增加产品列表增加数据统计及分段功能

描述

https://aone.alibaba-inc.com/req/18338586

  • 老版: dwp_en_dm_prod_terminal_eff_d
  • 新版: dwp_en_dm_vip_prod_eff_d

分段功能字段

字段 前端key 数据库key (天表) 数据库key (周表) 类型
曝光 minViews: 20 maxViews: 100 imps_cnt_1d_027 imps_cnt_1w_027 BIGINT(20)
点击 minClicks: 2 maxClicks: 100 clk_cnt_1d_092 clk_cnt_1w_092 BIGINT(20)
点击率 minClkRate: 22 maxClkRate: 33 clk_rate_1d_068 clk_rate_1w_068 DECIMAL(20,4)
反馈 minInquiries: 12 maxInquiries: 24 fb_cnt_1d_013 fb_cnt_1w_013 BIGINT(20)

分段功能需要做的事

  1. 修改sql [vip.product.getEffectiveProductsTotal]
  2. 修改业务流: vip/product/getEffectiveProductsTotal, 增加4*2个参数 http://oneness2.alibaba-inc.com/businessFlow?moduleId=114&interfaceId=1943&group=alidata
  3. 修改业务流: vip/product/getEffectiveProducts

数据统计需要做的事

无需后端工作,现有接口已返回

statistics: {total: 5, clkRate: "0.00", inquiries: 13, crtOrd: 1, views: 0, clicks: 0}

备份

vip.product.getEffectiveProductsTotal

select
    ${returnFields} 
from
    <if test='statisticsType == "day"'> 
        dwp_en_dm_vip_prod_eff_d
    </if>  
    <if test='statisticsType == "week"'> 
        dwp_en_dm_vip_prod_eff_w
    </if>
    <if test='statisticsType == "month"'> 
        dwp_en_dm_vip_prod_eff_m
    </if>
where
     stat_date = #{statDate} and
     admin_mbr_seq = #{adminMemberSeq} 
     <if test="name != null">
       and  ( prod_name like #{name} or  prod_model like #{name}  )
     </if>
     <if test="AD != null">
       and  is_kw_prod = 'Y' 
     </if>
     <if test="PS != null">
       and  is_show_win = 'Y'  
     </if>
     <if test="TR != null">
       and  is_intlbw = 'Y' 
     </if>
     <if test="P4P != null">
       and  is_p4p_prod = 'Y' 
     </if>
     <if test="isStdProd != null">
        and is_std_prod = 'Y'
     </if>
     <if test="owner != null">
       and  owner_mbr_seq = #{owner} 
     </if>
     <if test="groupLevel1 != null">
        and prod_group_id = #{groupLevel1} 
     </if>
     <if test="groupLevel2 != null">
       and  group_id2 = #{groupLevel2}  
     </if>
     <if test="groupLevel3 != null">
       and  group_id3 = #{groupLevel3}  
     </if>
     <if test="model != null">
       and  prod_model like #{model}  
     </if>
     <if test="beginUpdatedDate != null">
        and mdf_time >= #{beginUpdatedDate}  
     </if>
     <if test="endUpdatedDate!= null">
        and #{endUpdatedDate}  >= mdf_time 
     </if>
     <if test="hasEffect!= null">
        and  is_effer_prod = 'Y' 
     </if>
     <if test="region!= null">
        and  statistic_type = #{region}  
     </if>
     <if test="level3CateId != null">
        and cate_lv3_id  = #{level3CateId}  
     </if>

sql过长,参照

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

hsf测试


我的词行业TOP10点击与曝光口径调整

描述

aone
https://hz-mydata.alibaba.com/self/keyword.htm?spm=a271v.8028089.0.0.30803e5fXm3PST 自定义列

前端

Top10平均曝光:avgSumClickCnt: 3
Top10平均点击:avgSumShowCnt: 169

(高优先级)新版数据管家热门搜索词逻辑优化

描述

aone
https://data.alibaba.com/industry/keyword/hot?spm=a2793.12386102.0.0.19a83e5fqqUPjy

openSearch应用(表)

https://opensearch-cn-shanghai-in.console.aliyun.com/?spm=5176.7946605.209387.09080706050409.42babc75D46zHL#/apps?page=1&name=sc_mydata_hot_keyword

- openSearch应用 odps表
老版使用 -- 将被废弃 sc_mydata_hot_keyword dwp_en_dm_kw_hot_eff_m
周表 sc_mydata_hot_keyword_w dwp_en_dm_vip_kw_hot_eff_w
y月表 sc_mydata_hot_keyword_m dwp_en_dm_vip_kw_hot_eff_m
  • 加一个词: orig_kw (别名:orig_keywords)
- DA会增加新的一列 买家搜索原词
- 后端加灰度控制,灰度里的使用 买家搜索原词(orig_kw) 代替原来的 归一化词(keywords)

灰度id

com.alibaba.intl.mydata.maopt

员工管理增加指标汇总

描述

https://aone.alibaba-inc.com/req/18341488

测试

[
  "vip/home/getAccountsAndTotal",
  {
    "statDate": "2018-12-01",
    "adminMemberSeq": "200042360",
    "statisticsType": "month",
    "region": "os"
  }
]