Explorar el Código

重置团队交易加上本人

lcl hace 1 año
padre
commit
aa76a292b1
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1 1
      AppStart/Helper/StatResetService.cs
  2. 1 1
      AppStart/Helper/StatResetService2.cs

+ 1 - 1
AppStart/Helper/StatResetService.cs

@@ -239,7 +239,7 @@ namespace MySystem
                             selfStat.TradeCount = TradeCount;
                             db.SaveChanges();
 
-                            string ParentNav = user.ParentNav;
+                            string ParentNav = user.ParentNav + "," + userId + ",";
                             if(!string.IsNullOrEmpty(ParentNav))
                             {
                                 string[] ParentNavList = ParentNav.Replace(",,", ",").Trim(',').Split(',');

+ 1 - 1
AppStart/Helper/StatResetService2.cs

@@ -239,7 +239,7 @@ namespace MySystem
                             selfStat.TradeCount = TradeCount;
                             db.SaveChanges();
 
-                            string ParentNav = user.ParentNav;
+                            string ParentNav = user.ParentNav + "," + userId + ",";
                             if(!string.IsNullOrEmpty(ParentNav))
                             {
                                 string[] ParentNavList = ParentNav.Replace(",,", ",").Trim(',').Split(',');