|
@@ -29,7 +29,7 @@ namespace MySystem
|
|
|
{
|
|
|
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(-1);
|
|
|
int StartId = int.Parse(function.CheckInt(function.ReadInstance("/SycnSp/TradeRecordId.txt")));
|
|
|
IQueryable<TradeRecord> trades = spdb.TradeRecord.Where(m => m.Id >= StartId && m.ProductType == "23" && m.CreateDate >= start && m.Status == 1).OrderBy(m => m.CreateDate).Take(20);
|