Преглед на файлове

联动品牌判断检查

lcl преди 2 години
родител
ревизия
c67ed2d540
променени са 2 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 1 0
      AppStart/Helper/PosExpiredHelper.cs
  2. 2 0
      AppStart/Helper/SetFeeFlagService.cs

+ 1 - 0
AppStart/Helper/PosExpiredHelper.cs

@@ -119,6 +119,7 @@ public class PosExpiredHelper
         BrandIdList.Add(3);
         BrandIdList.Add(5);
         BrandIdList.Add(9);
+        BrandIdList.Add(11);
         DateTime now = DateTime.Parse(DateTime.Now.ToString("yyyy-MM-dd") + " 00:00:00").AddDays(-60);
         Dictionary<int, decimal> UserList = new Dictionary<int, decimal>();
         var PosList = db.PosMachinesTwo.Select(m => new { m.Id, m.BuyUserId, m.RecycEndDate, m.Status, m.BindingState, m.BrandId, m.ScanQrTrade }).Where(m => m.BuyUserId == UserId && m.RecycEndDate < now && m.Status > -1 && m.BindingState == 0 && m.ScanQrTrade < 999).OrderBy(m => m.Id).ToList();

+ 2 - 0
AppStart/Helper/SetFeeFlagService.cs

@@ -46,6 +46,8 @@ namespace MySystem
                             BrandIds.Add(7);
                             BrandIds.Add(8);
                             BrandIds.Add(9);
+                            BrandIds.Add(10);
+                            BrandIds.Add(11);
                             var date = DateTime.Now.AddDays(-118);
                             bool op = true;
                             int StartId = 0;