This commit is contained in:
tanglong 2025-07-28 11:47:12 +08:00
parent 49a6cb3a6d
commit 9f55508776
4 changed files with 9 additions and 4 deletions

View File

@ -90,7 +90,7 @@ namespace YD_AllHeartRates.Api.Services.Impl
/// <returns></returns>
public async Task<List<StudentDto>> StudentList(int classId)
{
var res = await _sportsContext.Student.Where(x => x.SchoolCode == schoolCode && x.ClassId == classId).Select(x => new StudentDto
var res = await _sportsContext.Student.Where(x => x.SchoolCode == schoolCode && x.ClassId == classId && x.StudentStatus == 1).Select(x => new StudentDto
{
StudentNo = x.StudentNo,
StudentName = x.StudentName,

View File

@ -4,6 +4,11 @@
{
/*
便

View File

@ -14,7 +14,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("YD_AllHeartRates.Api")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+d050410b4b408994ca1c9d7c01c1c3c65a0c35f8")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+49a6cb3a6dd561806da8e0157c7126774e0cfda0")]
[assembly: System.Reflection.AssemblyProductAttribute("YD_AllHeartRates.Api")]
[assembly: System.Reflection.AssemblyTitleAttribute("YD_AllHeartRates.Api")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

View File

@ -1 +1 @@
fd5d16723371e9533b9278925799289d0ca07c958290a8d765748dccd151aa1e
5e1ce581baeb690fbd907058052a9f7fd6d22c49d7e036c5953449b221cb4b54