|
@@ -36,7 +36,7 @@ namespace MySystem
|
|
|
BrandIds.Add("26");
|
|
|
WebCMSEntities spdb = new WebCMSEntities();
|
|
|
PxcModels.WebCMSEntities db = new PxcModels.WebCMSEntities();
|
|
|
- DateTime start = DateTime.Now.AddDays(-10);
|
|
|
+ DateTime start = DateTime.Now.AddDays(-60);
|
|
|
DateTime end = DateTime.Now.AddMinutes(-3);
|
|
|
int StartId = int.Parse(function.CheckInt(function.ReadInstance("/SycnSp/TradeRecordId.txt")));
|
|
|
IQueryable<TradeRecord> trades = spdb.TradeRecord.Where(m => m.Id >= StartId && !BrandIds.Contains(m.ProductType) && m.CreateDate >= start && m.Status == 1).OrderBy(m => m.CreateDate).Take(20);
|