|
@@ -447,7 +447,7 @@ namespace MySystem
|
|
public void activePrizeWithoutDeposit(int posid = 0)
|
|
public void activePrizeWithoutDeposit(int posid = 0)
|
|
{
|
|
{
|
|
WebCMSEntities db = new WebCMSEntities();
|
|
WebCMSEntities db = new WebCMSEntities();
|
|
- DateTime yesterday = DateTime.Now.AddDays(-1);
|
|
|
|
|
|
+ DateTime yesterday = DateTime.Now.AddDays(-10);
|
|
DateTime today = DateTime.Now.AddMinutes(-10);
|
|
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.BrandId != 6 && m.BrandId != 14 && m.BrandId != 15 && m.BrandId != 16 && m.Detail != "1");
|
|
IQueryable<PosMachinesTwo> posList = db.PosMachinesTwo.Where(m => m.ActivationState == 1 && string.IsNullOrEmpty(m.SeoKeyword) && m.BrandId != 12 && m.BrandId != 13 && m.BrandId != 6 && m.BrandId != 14 && m.BrandId != 15 && m.BrandId != 16 && m.Detail != "1");
|
|
if (posid > 0)
|
|
if (posid > 0)
|