|
@@ -94,6 +94,12 @@ namespace molilian.core
|
|
|
//foreach (var distribution in distributiontype_list)
|
|
//foreach (var distribution in distributiontype_list)
|
|
|
{
|
|
{
|
|
|
int distribution = 0;
|
|
int distribution = 0;
|
|
|
|
|
+
|
|
|
|
|
+ filter = " report_date=@report_date AND platform=@platform AND distribution=@distribution AND type=@data_type AND sub_type=@sub_type";
|
|
|
|
|
+ var exist = new DBContext.Table("push_data_report")
|
|
|
|
|
+ .Get<PushDataReportDTO>(filter, new { report_date = reportDatetime.Date, platform = p.push_channel_id, distribution, data_type, sub_type });
|
|
|
|
|
+ if (exist != null && exist.status == 1) continue;
|
|
|
|
|
+
|
|
|
var item = new PushDataReportDTO();
|
|
var item = new PushDataReportDTO();
|
|
|
item.report_date = reportDatetime.Date;
|
|
item.report_date = reportDatetime.Date;
|
|
|
item.platform = p.push_channel_id;
|
|
item.platform = p.push_channel_id;
|
|
@@ -239,7 +245,7 @@ namespace molilian.core
|
|
|
if (deeplink.push_channel_id == 0) continue;
|
|
if (deeplink.push_channel_id == 0) continue;
|
|
|
|
|
|
|
|
//先跳过百度网盘的数据处理
|
|
//先跳过百度网盘的数据处理
|
|
|
- if(deeplink.channel_id== 102) continue;
|
|
|
|
|
|
|
+ if (deeplink.channel_id == 102) continue;
|
|
|
|
|
|
|
|
string[] flags = ["none", "home", "success", "fail"];
|
|
string[] flags = ["none", "home", "success", "fail"];
|
|
|
int all_total = 0;
|
|
int all_total = 0;
|