|
@@ -275,7 +275,7 @@ namespace MySystem
|
|
|
{
|
|
|
WebCMSEntities db = new WebCMSEntities();
|
|
|
DateTime yesterday = DateTime.Now.AddDays(-1);
|
|
|
- DateTime today = DateTime.Now;
|
|
|
+ DateTime today = DateTime.Now.AddMinutes(-10);
|
|
|
IQueryable<PosMachinesTwo> posList = db.PosMachinesTwo.Where(m => m.ActivationState == 1 && !string.IsNullOrEmpty(m.SeoKeyword) && m.Detail != "1");
|
|
|
if (posid > 0)
|
|
|
{
|
|
@@ -380,7 +380,7 @@ namespace MySystem
|
|
|
{
|
|
|
WebCMSEntities db = new WebCMSEntities();
|
|
|
DateTime yesterday = DateTime.Now.AddDays(-1);
|
|
|
- DateTime today = DateTime.Now.AddMinutes(-5);
|
|
|
+ DateTime today = DateTime.Now.AddMinutes(-10);
|
|
|
IQueryable<PosMachinesTwo> posList = db.PosMachinesTwo.Where(m => m.ActivationState == 1 && string.IsNullOrEmpty(m.SeoKeyword) && m.BrandId != 12 && m.BrandId != 13 && m.Detail != "1");
|
|
|
if (posid > 0)
|
|
|
{
|
|
@@ -435,7 +435,7 @@ namespace MySystem
|
|
|
{
|
|
|
WebCMSEntities db = new WebCMSEntities();
|
|
|
DateTime yesterday = DateTime.Now.AddDays(-30);
|
|
|
- DateTime today = DateTime.Now.AddMinutes(-5);
|
|
|
+ DateTime today = DateTime.Now.AddMinutes(-10);
|
|
|
IQueryable<PosMachinesTwo> posList = db.PosMachinesTwo.Where(m => m.ActivationState == 1 && m.IsFirst == 1 && m.CreditTrade >= 5000 && string.IsNullOrEmpty(m.SeoKeyword) && (m.BrandId == 12 || m.BrandId == 13) && m.Detail != "1");
|
|
|
if (posid > 0)
|
|
|
{
|