上传
This commit is contained in:
parent
24d9cd854d
commit
3a731ba2a7
@ -1639,7 +1639,7 @@ namespace VOL.Ai.Services
|
||||
// 7️⃣ 删除扫码记录
|
||||
// =========================
|
||||
_scanCodeLoginRepository.Delete(loginInfo);
|
||||
//await _scanCodeLoginRepository.SaveChangesAsync();
|
||||
await _scanCodeLoginRepository.SaveChangesAsync();
|
||||
|
||||
return res;
|
||||
}
|
||||
|
||||
@ -76,14 +76,15 @@ namespace VOL.Model.Ai
|
||||
public class Ai_TeacherFaceInfo
|
||||
{
|
||||
public int Id { get; set; }
|
||||
/// <summary>
|
||||
/// 学校Code
|
||||
/// </summary>
|
||||
|
||||
///// <summary>
|
||||
///// 学校Code
|
||||
///// </summary>
|
||||
//public string SchoolCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 学校名称
|
||||
/// </summary>
|
||||
///// <summary>
|
||||
///// 学校名称
|
||||
///// </summary>
|
||||
//public string SchoolName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
|
||||
@ -48,12 +48,12 @@ namespace VOL.WebApi.Filter
|
||||
}
|
||||
|
||||
// 查询设备信息是否存在
|
||||
var res = await _deviceAssocSchoolRepository.FindAsyncFirst(x => x.SchoolCode == schoolCode && x.Code == code);
|
||||
if (res == null)
|
||||
{
|
||||
context.Result = new NotFoundObjectResult("设备信息不存在");
|
||||
return;
|
||||
}
|
||||
//var res = await _deviceAssocSchoolRepository.FindAsyncFirst(x => x.SchoolCode == schoolCode && x.Code == code);
|
||||
//if (res == null)
|
||||
//{
|
||||
// context.Result = new NotFoundObjectResult("设备信息不存在");
|
||||
// return;
|
||||
//}
|
||||
|
||||
// 执行下一个过滤器或操作
|
||||
await next();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user