|
@@ -290,8 +290,6 @@ namespace molilian.core
|
|
|
public async Task<int> PushReportData(DateTime report_date, bool repush = false, CancellationToken cancellationToken = default)
|
|
public async Task<int> PushReportData(DateTime report_date, bool repush = false, CancellationToken cancellationToken = default)
|
|
|
{
|
|
{
|
|
|
string filter = "report_date=@report_date";
|
|
string filter = "report_date=@report_date";
|
|
|
- //2026-06-05 淘宝 只生成不推送
|
|
|
|
|
- filter += " AND sub_type=100000 AND platform=1";
|
|
|
|
|
#if DEBUG
|
|
#if DEBUG
|
|
|
filter += " AND sub_type=100000 AND platform IN (1,9,13)";
|
|
filter += " AND sub_type=100000 AND platform IN (1,9,13)";
|
|
|
#endif
|
|
#endif
|
|
@@ -307,6 +305,9 @@ namespace molilian.core
|
|
|
int count = 0;
|
|
int count = 0;
|
|
|
foreach (var item in list)
|
|
foreach (var item in list)
|
|
|
{
|
|
{
|
|
|
|
|
+ //2026-06-05 淘宝 只生成不推送
|
|
|
|
|
+ if (item.sub_type == 100000 && item.platform == 1) continue;
|
|
|
|
|
+
|
|
|
count++;
|
|
count++;
|
|
|
item.request_id = Guid.NewGuid().ToString();
|
|
item.request_id = Guid.NewGuid().ToString();
|
|
|
var response = await plus.PushReportData(item, cancellationToken);
|
|
var response = await plus.PushReportData(item, cancellationToken);
|