lcl 2 жил өмнө
parent
commit
d6ad994d2a

+ 1 - 2
AppStart/Helper/AlipayPayBack2Service.cs

@@ -305,8 +305,7 @@ namespace MySystem
                                     //推荐奖励
                                     DirectPrize(db, order.Id, order.UserId, pro.ProductCount);
                                     //推荐下单上级获得30天的机具循环天数(盟主自己得)
-                                    DateTime now = DateTime.Now;
-                                    var posList = db.PosMachinesTwo.Select(m => new { m.Id, m.UserId, m.BindingState, m.RecycEndDate }).Where(m => m.UserId == order.UserId && m.BindingState == 0 && m.RecycEndDate != null && m.RecycEndDate > now).ToList();
+                                    var posList = db.PosMachinesTwo.Select(m => new { m.Id, m.UserId, m.BindingState, m.RecycEndDate }).Where(m => m.UserId == order.UserId && m.BindingState == 0 && m.RecycEndDate != null).ToList();
                                     foreach (var subPos in posList)
                                     {
                                         PosMachinesTwo pos = db.PosMachinesTwo.FirstOrDefault(m => m.Id == subPos.Id);