diff --git a/LearningOfficer.OA.Common/Dtos/User/StudentResult.cs b/LearningOfficer.OA.Common/Dtos/User/StudentResult.cs index 7991c51..11f0bc6 100644 --- a/LearningOfficer.OA.Common/Dtos/User/StudentResult.cs +++ b/LearningOfficer.OA.Common/Dtos/User/StudentResult.cs @@ -46,5 +46,9 @@ namespace LearningOfficer.OA.Common.Dtos.User /// 默认值: /// public int GraduationYear { get; set; } + /// + /// 账号 + /// + public string Account { get; set; } } } diff --git a/LearningOfficer.OA.Services/UserService.cs b/LearningOfficer.OA.Services/UserService.cs index ad45487..f9e71b0 100644 --- a/LearningOfficer.OA.Services/UserService.cs +++ b/LearningOfficer.OA.Services/UserService.cs @@ -73,7 +73,8 @@ namespace LearningOfficer.OA.Services ClassName = c.ClassName, GradeLevel = c.GradeLevel, GraduationYear = c.GraduationYear, - SchoolName = s.Name + SchoolName = s.Name, + Account = u.Account }).ToListAsync(); return result; }