feat(printer):优化人脸样本使用逻辑并增强景区列表查询

- 修改 useSample 接口返回类型为 FaceRecognizeResp
- 增加根据样本ID和类型查询来源实体的逻辑
- 在景区列表查询中添加参数校验和异常处理
- 完善景区信息处理流程,增加设备数量统计
-优化景区距离计算与筛选逻辑
- 增加人脸匹配后自动添加照片到用户相册的功能
- 添加 XML 映射文件中新的查询语句实现
This commit is contained in:
2025-11-08 15:04:50 +08:00
parent fb75cbf230
commit 88c31d4fdc
6 changed files with 96 additions and 40 deletions

View File

@@ -105,4 +105,6 @@ public interface SourceMapper {
* @return 影响行数
*/
int addFromZTSource(SourceEntity source);
SourceEntity getBySampleIdAndType(Long faceSampleId, Integer type);
}