|
existing_id = exists[0][0] if (isinstance(exists, (list, tuple)) and len(exists) > 0) else None
|
|
existing_id = exists[0][0] if (isinstance(exists, (list, tuple)) and len(exists) > 0) else None
|
|
logger.info(f"提取existing_id: {existing_id}, 原始数据: {exists[0] if exists else 'None'}")
|
|
logger.info(f"提取existing_id: {existing_id}, 原始数据: {exists[0] if exists else 'None'}")
|