|
@@ -189,6 +189,7 @@
|
|
|
SUM(t1.valid_click_count) AS bclick
|
|
SUM(t1.valid_click_count) AS bclick
|
|
|
FROM application.adq_advertiser_report_hourly t1
|
|
FROM application.adq_advertiser_report_hourly t1
|
|
|
WHERE t1.stat_date = #{startTime}
|
|
WHERE t1.stat_date = #{startTime}
|
|
|
|
|
+ AND t1.project_id IS NOT NULL
|
|
|
<if test='userIds!=null and userIds.size()>0'>
|
|
<if test='userIds!=null and userIds.size()>0'>
|
|
|
AND t1.user_id IN
|
|
AND t1.user_id IN
|
|
|
<foreach collection="userIds" item="item" separator="," open="(" close=")">
|
|
<foreach collection="userIds" item="item" separator="," open="(" close=")">
|
|
@@ -283,6 +284,7 @@
|
|
|
FROM application.adq_advertiser_report_daily t1
|
|
FROM application.adq_advertiser_report_daily t1
|
|
|
WHERE t1.stat_date >= #{startTime}
|
|
WHERE t1.stat_date >= #{startTime}
|
|
|
AND t1.stat_date <= #{endTime}
|
|
AND t1.stat_date <= #{endTime}
|
|
|
|
|
+ AND t1.project_id IS NOT NULL
|
|
|
<if test='userIds!=null and userIds.size()>0'>
|
|
<if test='userIds!=null and userIds.size()>0'>
|
|
|
AND t1.user_id IN
|
|
AND t1.user_id IN
|
|
|
<foreach collection="userIds" item="item" separator="," open="(" close=")">
|
|
<foreach collection="userIds" item="item" separator="," open="(" close=")">
|