From 3ac3c8e5e5752c1f2fec2b1e86667c8111d25fea Mon Sep 17 00:00:00 2001 From: zlzw <583819556@qq.com> Date: Sat, 30 Nov 2024 15:12:05 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E4=BF=AE=E5=A4=8D=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E7=9B=B4=E6=92=AD=E9=97=B4=E7=9A=84sql=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/yutou/common/databases/SQLiteManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/yutou/common/databases/SQLiteManager.java b/src/main/java/com/yutou/common/databases/SQLiteManager.java index ee0822a..e583091 100644 --- a/src/main/java/com/yutou/common/databases/SQLiteManager.java +++ b/src/main/java/com/yutou/common/databases/SQLiteManager.java @@ -151,7 +151,7 @@ public abstract class SQLiteManager { if ("id".equals(key)) { continue; } - sb.append("`").append(key).append("`,").append(" "); + sb.append("`").append(key).append("`,"); value.append("?").append(","); } sb.deleteCharAt(sb.length() - 1); // 删除最后一个逗号