Просмотр исходного кода

机票预定 -> 基础数据接口,团组名称参数由“groupName”更改为“teamName”

Lyyyi 13 часов назад
Родитель
Сommit
626379f746

+ 4 - 4
OASystem/OASystem.Infrastructure/Repositories/Groups/AirTicketResRepository.cs

@@ -327,7 +327,7 @@ namespace OASystem.Infrastructure.Repositories.Groups
                 #region 团组下拉框
 
                 List<Grp_GroupsTaskAssignment> grp_GroupsTaskAssignment = Query<Grp_GroupsTaskAssignment>(a => a.IsDel == 0 && a.UId == dto.UserId && a.CTId == 85).ToList();
-                var grp_NameView = new List<GroupNameView>();
+                var grp_NameView = new List<dynamic>();
                 string DiId = "";
                 foreach (var item in grp_GroupsTaskAssignment)
                 {
@@ -347,10 +347,10 @@ namespace OASystem.Infrastructure.Repositories.Groups
 
                     foreach (var item in grp_Delegations)
                     {
-                        var groupNameView = new GroupNameView
+                        var groupNameView = new
                         {
-                            Id = item.Id,
-                            GroupName = item.TeamName
+                            item.Id,
+                            item.TeamName
                         };
                         grp_NameView.Add(groupNameView);
                     }