|
@@ -75,11 +75,10 @@ class ContentIdentifier:
|
|
|
content_sql = f"""
|
|
|
SELECT id, formatted_content
|
|
|
FROM knowledge_search_content
|
|
|
- WHERE recognition_status = 3
|
|
|
+ WHERE recognition_status = 1
|
|
|
AND query_word IN ({placeholders})
|
|
|
LIMIT 1
|
|
|
"""
|
|
|
- self.logger.info(f"执行查询: {content_sql}")
|
|
|
|
|
|
# 不需要传递参数,因为SQL已经包含了具体的值
|
|
|
result = self.db.get_values(content_sql)
|