Browse Source

广电卡激活奖励需要判断卡类型

lcl 1 year ago
parent
commit
1ae4f90c44
1 changed files with 1 additions and 1 deletions
  1. 1 1
      AppStart/Helper/StatService.cs

+ 1 - 1
AppStart/Helper/StatService.cs

@@ -181,7 +181,7 @@ namespace MySystem
         {
         {
             WebCMSEntities db = new WebCMSEntities();
             WebCMSEntities db = new WebCMSEntities();
             DateTime yesterday = DateTime.Now.AddDays(-30);
             DateTime yesterday = DateTime.Now.AddDays(-30);
-            IQueryable<PosMachinesTwo> posList = db.PosMachinesTwo.Where(m => m.ActivationState == 1 && m.BrandId == 14 && m.Detail != "1");
+            IQueryable<PosMachinesTwo> posList = db.PosMachinesTwo.Where(m => m.ActivationState == 1 && m.BrandId == 14 && m.CardType > 0 && m.Detail != "1");
             if (posid > 0)
             if (posid > 0)
             {
             {
                 posList = posList.Where(m => m.Id == posid);
                 posList = posList.Where(m => m.Id == posid);