[changes] Spatial verification, retrieval synchronization

This commit is contained in:
lanceyq
2026-03-26 15:03:33 +08:00
parent f92eb9f45a
commit 863be50aaf
5 changed files with 35 additions and 18 deletions

View File

@@ -1389,9 +1389,8 @@ class ExtractionOrchestrator:
logger.debug(f"end_user 表 other_name 保持不变: {end_user.other_name}")
# 更新或创建 end_user_info 记录
existing_infos = EndUserInfoRepository(db).get_by_end_user_id(end_user_uuid)
if existing_infos:
info = existing_infos[0]
info = EndUserInfoRepository(db).get_by_end_user_id(end_user_uuid)
if info:
new_name_info = self._resolve_other_name(info.other_name, current_aliases, neo4j_aliases)
if new_name_info is not None:
info.other_name = new_name_info