Browse Source

修改同步SP助利宝交易数据的id限制

lcl 4 months ago
parent
commit
2ed43df695
1 changed files with 1 additions and 1 deletions
  1. 1 1
      AppStart/Helper/SycnSpServer/SycnSpTradeTmpService.cs

+ 1 - 1
AppStart/Helper/SycnSpServer/SycnSpTradeTmpService.cs

@@ -39,7 +39,7 @@ namespace MySystem
                     DateTime root = DateTime.Parse("2025-01-01 00:00:00");
                     DateTime start = DateTime.Now.AddDays(-30);
                     DateTime end = DateTime.Now.AddMinutes(-3);
-                    int StartId = 136291021;
+                    int StartId = 139478000;
                     // if(StartId == 0) StartId = 133391021;
                     IQueryable<TradeRecord> trades = spdb.TradeRecord.Where(m => m.Id > StartId && !BrandIds.Contains(m.ProductType) && m.CreateDate >= start && m.CreateDate >= root && m.Sort == 0).OrderBy(m => m.CreateDate).Take(20);
                     foreach (TradeRecord trade in trades.ToList())