소스 검색

分润bug修复

lcl 2 달 전
부모
커밋
670d625eba
4개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 1 1
      Util/HaoDa/ProfitAfterHelper.cs
  2. 1 1
      Util/HaoDa/ProfitAfterNewHelper.cs
  3. 1 1
      Util/HaoDa/ProfitBeforeHelper.cs
  4. 1 1
      Util/HaoDa/ProfitBeforeNewHelper.cs

+ 1 - 1
Util/HaoDa/ProfitAfterHelper.cs

@@ -118,7 +118,7 @@ namespace MySystem
                     {
                         uidstring = us.PidPath.Trim(',').Replace(",,", ",") + "," + uidstring;
                         string[] parents = us.PidPath.Trim(',').Replace(",,", ",").Split(',');
-                        if (parents.Length > 1)
+                        if (parents.Length > 2)
                         {
                             TopUserId = int.Parse(function.CheckInt(parents[1]));
                         }

+ 1 - 1
Util/HaoDa/ProfitAfterNewHelper.cs

@@ -118,7 +118,7 @@ namespace MySystem
                     {
                         uidstring = us.PidPath.Trim(',').Replace(",,", ",") + "," + uidstring;
                         string[] parents = us.PidPath.Trim(',').Replace(",,", ",").Split(',');
-                        if (parents.Length > 1)
+                        if (parents.Length > 2)
                         {
                             TopUserId = int.Parse(function.CheckInt(parents[1]));
                         }

+ 1 - 1
Util/HaoDa/ProfitBeforeHelper.cs

@@ -118,7 +118,7 @@ namespace MySystem
                     {
                         uidstring = us.PidPath.Trim(',').Replace(",,", ",") + "," + uidstring;
                         string[] parents = us.PidPath.Trim(',').Replace(",,", ",").Split(',');
-                        if (parents.Length > 1)
+                        if (parents.Length > 2)
                         {
                             TopUserId = int.Parse(function.CheckInt(parents[2]));
                         }

+ 1 - 1
Util/HaoDa/ProfitBeforeNewHelper.cs

@@ -118,7 +118,7 @@ namespace MySystem
                     {
                         uidstring = us.PidPath.Trim(',').Replace(",,", ",") + "," + uidstring;
                         string[] parents = us.PidPath.Trim(',').Replace(",,", ",").Split(',');
-                        if (parents.Length > 1)
+                        if (parents.Length > 2)
                         {
                             TopUserId = int.Parse(function.CheckInt(parents[2]));
                         }