Quellcode durchsuchen

删除无用注释并调整团队类型数据顺序

在 `DelegationInfoRepository.cs` 文件中:
1. 删除了多处无用的 XML 注释。
2. 添加了代码以调整团队类型数据的顺序,将 "前期沟通" 插入到特定位置。
LEIYI vor 2 Monaten
Ursprung
Commit
6bcbf152af

+ 10 - 2
OASystem/OASystem.Infrastructure/Repositories/Groups/DelegationInfoRepository.cs

@@ -96,7 +96,6 @@ namespace OASystem.Infrastructure.Repositories.Groups
             return result;
         }
 
-
         /// <summary>
         /// 团组信息List 团组预览详情共享Api
         /// </summary>
@@ -502,6 +501,16 @@ namespace OASystem.Infrastructure.Repositories.Groups
                 if (teamTypeData.Any())
                 {
                     teamTypeData1 = teamTypeData;
+
+                    if (teamTypeData.Any(x => x.Name.Equals("前期沟通")))
+                    {
+                        var info = teamTypeData.Find(x => x.Name.Equals("前期沟通"));
+                        if (info != null)
+                        {
+                            teamTypeData.Remove(info);
+                            teamTypeData.Insert(2, info);
+                        }
+                    }
                 }
 
                 dynamic? teamLevData1 = null;
@@ -557,7 +566,6 @@ namespace OASystem.Infrastructure.Repositories.Groups
                 };
             }
 
-
             return result;
         }