feat(face): 添加人工调整标记字段并优化匹配逻辑

- 在 FaceEntity 中新增 isManual 字段,用于标识是否经过人工调整
- 优化人脸识别匹配流程,若已人工调整则跳过自动匹配
- 更新 FaceMapper.xml,支持 isManual 字段的更新操作
- 在处理自定义人脸匹配时,设置人工调整标记并清除缓存
This commit is contained in:
2025-10-30 00:18:03 +08:00
parent 745943fc23
commit 73825cd1d6
3 changed files with 26 additions and 7 deletions

View File

@@ -20,6 +20,9 @@
<if test="faceUrl!= null and faceUrl!= ''">
face_url = #{faceUrl},
</if>
<if test="isManual!= null ">
is_manual = #{isManual},
</if>
match_sample_ids = #{matchSampleIds},
first_match_rate = #{firstMatchRate},
match_result = #{matchResult},