浏览代码

重置团队交易加上本人

lcl 1 年之前
父节点
当前提交
aa76a292b1
共有 2 个文件被更改,包括 2 次插入2 次删除
  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(',');