From 3a731ba2a7b03dd80d9f31a36eb4c480b60f62cc Mon Sep 17 00:00:00 2001
From: tanglong <842690096@qq.com>
Date: Fri, 16 Jan 2026 15:42:25 +0800
Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
VOL.Ai/Services/AiAppService.cs | 2 +-
VOL.Model/Ai/Response/Ai_FaceInfo.cs | 13 +++++++------
VOL.WebApi/Filter/ValidateDeviceFilter.cs | 12 ++++++------
3 files changed, 14 insertions(+), 13 deletions(-)
diff --git a/VOL.Ai/Services/AiAppService.cs b/VOL.Ai/Services/AiAppService.cs
index 472ea6f..403e4ba 100644
--- a/VOL.Ai/Services/AiAppService.cs
+++ b/VOL.Ai/Services/AiAppService.cs
@@ -1639,7 +1639,7 @@ namespace VOL.Ai.Services
// 7️⃣ 删除扫码记录
// =========================
_scanCodeLoginRepository.Delete(loginInfo);
- //await _scanCodeLoginRepository.SaveChangesAsync();
+ await _scanCodeLoginRepository.SaveChangesAsync();
return res;
}
diff --git a/VOL.Model/Ai/Response/Ai_FaceInfo.cs b/VOL.Model/Ai/Response/Ai_FaceInfo.cs
index 91a5f06..6a32673 100644
--- a/VOL.Model/Ai/Response/Ai_FaceInfo.cs
+++ b/VOL.Model/Ai/Response/Ai_FaceInfo.cs
@@ -76,14 +76,15 @@ namespace VOL.Model.Ai
public class Ai_TeacherFaceInfo
{
public int Id { get; set; }
- ///
- /// 学校Code
- ///
+
+ /////
+ ///// 学校Code
+ /////
//public string SchoolCode { get; set; }
- ///
- /// 学校名称
- ///
+ /////
+ ///// 学校名称
+ /////
//public string SchoolName { get; set; }
///
diff --git a/VOL.WebApi/Filter/ValidateDeviceFilter.cs b/VOL.WebApi/Filter/ValidateDeviceFilter.cs
index 6a62107..3efde3f 100644
--- a/VOL.WebApi/Filter/ValidateDeviceFilter.cs
+++ b/VOL.WebApi/Filter/ValidateDeviceFilter.cs
@@ -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();