From 444e683397858849b2a8eee3376ae448abca3190 Mon Sep 17 00:00:00 2001 From: huzhiyun Date: Mon, 26 Jan 2026 16:26:05 +0800 Subject: [PATCH] 1 --- LearningOfficer.OA.Common/Dtos/User/StudentResult.cs | 4 ++++ LearningOfficer.OA.Services/UserService.cs | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) 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; }