fix 修复添加直播间的sql错误

This commit is contained in:
zlzw 2024-11-30 15:12:05 +08:00
parent a12b1b5bd8
commit 3ac3c8e5e5

View File

@ -151,7 +151,7 @@ public abstract class SQLiteManager {
if ("id".equals(key)) { if ("id".equals(key)) {
continue; continue;
} }
sb.append("`").append(key).append("`,").append(" "); sb.append("`").append(key).append("`,");
value.append("?").append(","); value.append("?").append(",");
} }
sb.deleteCharAt(sb.length() - 1); // 删除最后一个逗号 sb.deleteCharAt(sb.length() - 1); // 删除最后一个逗号