Browse Source

重置团队交易加上本人

lcl 1 năm trước cách đây
mục cha
commit
aa76a292b1

+ 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(',');