From 02fc69574270bd9c6f1243b47e78a5ac22061d43 Mon Sep 17 00:00:00 2001 From: qsc20001102 Date: Thu, 11 Dec 2025 17:57:01 +0800 Subject: [PATCH] 11 --- core/jx3_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/jx3_service.py b/core/jx3_service.py index a06bf56..d4eed33 100644 --- a/core/jx3_service.py +++ b/core/jx3_service.py @@ -391,7 +391,7 @@ class JX3Service: elif search_data and search_data.get("total", 0) == 0: # 从 DB 查找名称和 ID try: - sql = "SELECT showName, searchId FROM searchdata WHERE name = %s OR showName = %s" + sql = "SELECT showName, searchId FROM searchdata WHERE name = ? OR showName = ?" sqldata = await self._db.fetch_one(sql, (Name, Name)) if sqldata: showName = sqldata["showName"]