This commit is contained in:
tanglong 2025-06-12 16:16:43 +08:00
parent f42b6d023b
commit de51e13976

View File

@ -224,7 +224,7 @@ namespace YD_WeChatApplet.Services
StudentNo = x.StudentNo,
StudentName = x.StudentName,
Sex = x.Sex,
Photo = students.FirstOrDefault(x => x.StudentNo == x.StudentNo)?.Photo ?? "",
Photo = students.FirstOrDefault(y => y.StudentNo == x.StudentNo)?.Photo ?? "",
}).ToList()
};