This commit is contained in:
tanglong 2025-08-06 14:24:08 +08:00
parent 4179f88893
commit be7e92e240

View File

@ -31,7 +31,7 @@ namespace YD_WeChatApplet.Api.Services.Impl
// 先检查是否已存在相同的记录
var exist = await _sportsContext.Ai_ScanCodeLogin
.AnyAsync(x => x.Code == code && x.SchoolCode == schoolCode && x.TeacherId == teacherId);
.AnyAsync(x => x.Code == code && x.SchoolCode == schoolCode);
if (exist)
return true; // 已存在,认为成功