diff --git a/WeChatApplet/Services/Impl/TeacherService.cs b/WeChatApplet/Services/Impl/TeacherService.cs index ccaf619..9387030 100644 --- a/WeChatApplet/Services/Impl/TeacherService.cs +++ b/WeChatApplet/Services/Impl/TeacherService.cs @@ -355,7 +355,7 @@ namespace YD_WeChatApplet.Services { var query = from s in _sportsContext.Ai_ClassroomStudentRecord join c in _sportsContext.Ai_ClassRoomRecord on s.ClassRoomRecordId equals c.Id - where s.StudentName == dto.StudentNo + where s.StudentNo == dto.StudentNo select new ClassRoomRecordPageDto() { Id = c.Id,