Explorar o código

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

lcl %!s(int64=2) %!d(string=hai) anos
pai
achega
1ae4f90c44
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      AppStart/Helper/StatService.cs

+ 1 - 1
AppStart/Helper/StatService.cs

@@ -181,7 +181,7 @@ namespace MySystem
         {
             WebCMSEntities db = new WebCMSEntities();
             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)
             {
                 posList = posList.Where(m => m.Id == posid);