From f42b6d023bcafbd65ab47dc4eaa84e557ee608a1 Mon Sep 17 00:00:00 2001 From: tanglong <842690096@qq.com> Date: Thu, 12 Jun 2025 15:31:20 +0800 Subject: [PATCH] d --- WeChatApplet/Services/Impl/StudentService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WeChatApplet/Services/Impl/StudentService.cs b/WeChatApplet/Services/Impl/StudentService.cs index 5c5eb75..4550f25 100644 --- a/WeChatApplet/Services/Impl/StudentService.cs +++ b/WeChatApplet/Services/Impl/StudentService.cs @@ -30,7 +30,7 @@ namespace YD_WeChatApplet.Api.Services.Impl from t in _sportsContext.Teacher join a in _sportsContext.ClassAssocTeacher on t.Id equals a.TeacherId join c in _sportsContext.Class on a.ClassId equals c.Id - where t.TeacherPhoneNo == teacherPhoneNo + where t.TeacherPhoneNo == teacherPhoneNo && t.TeacherStatus == 1 select new ClassListDto() { GradeId = c.GradeId,