三类SQLITE库

This commit is contained in:
ZZX9599
2025-09-30 09:55:07 +08:00
parent e3292d8acd
commit 461da40bed
9 changed files with 468 additions and 377 deletions

View File

@ -555,10 +555,8 @@ public class SQLiteUtil {
}
// ========================== 初始化表结构方法(保留原逻辑) ==========================
/**
* 初始化模型相关表model_type + model
* 初始化模型相关表
*/
public static void initializationModel(String modelPath) throws SQLException {
String sql = """
@ -592,7 +590,7 @@ public class SQLiteUtil {
}
/**
* 初始化军标相关表military_type + military
* 初始化军标相关表
*/
public static void initializationMilitary(String militaryPath) throws SQLException {
String sql = """
@ -624,7 +622,7 @@ public class SQLiteUtil {
}
/**
* 初始化图标相关表icon_type + icon
* 初始化图标相关表
*/
public static void initializationIcon(String iconPath) throws SQLException {
String sql = """
@ -646,8 +644,7 @@ public class SQLiteUtil {
"icon_type_id" TEXT,
"icon_name" TEXT,
"icon_type" TEXT,
"data" TEXT,
"view" TEXT,
"icon_data" BLOB,
"created_at" TEXT,
"updated_at" TEXT,
PRIMARY KEY ("id")