Commit 199bbb2c authored by 王志伟's avatar 王志伟

搜索统计去除用户黑名单

parent eea4dd5c
......@@ -498,8 +498,8 @@ object GetHiveSearchData {
val add_data = sc.sql(
s"""
|INSERT INTO GetHiveSearchData_CTR (stat_date,diaryExposureVal,diaryClickNum,meigouExposureVal,meigouClickNum,searchResultExposureVal,searchResultClickNum,searchDoctorExposureVal,searchDoctorClickNum,searchHospitalExposureVal,searchHospitalClickNum)
|VALUES (${stat_date},${diaryExposureVal},${(diary_click_num+diaryClickNum)},${meigouExposureVal},${meigouClickNum},${searchResultExposureVal},${(searchResultClickNum+content_diary_click_num)},${searchDoctorExposureVal},${searchDoctorClickNum},${searchHospitalExposureVal},${searchHospitalClickNum})
|insert into GetHiveSearchData_CTR(stat_date,diaryExposureVal,diaryClickNum,meigouExposureVal,meigouClickNum,searchResultExposureVal,searchResultClickNum,searchDoctorExposureVal,searchDoctorClickNum,searchHospitalExposureVal,searchHospitalClickNum)
|values (${stat_date},${diaryExposureVal},${(diary_click_num+diaryClickNum)},${meigouExposureVal},${meigouClickNum},${searchResultExposureVal},${(searchResultClickNum+content_diary_click_num)},${searchDoctorExposureVal},${searchDoctorClickNum},${searchHospitalExposureVal},${searchHospitalClickNum})
""".stripMargin
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment