jihuaqiang 1 month ago
parent
commit
a53e7398ed
1 changed files with 1 additions and 2 deletions
  1. 1 2
      content_indentify/indentify.py

+ 1 - 2
content_indentify/indentify.py

@@ -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)