网页版
This commit is contained in:
@ -231,17 +231,13 @@ public class SQLiteConverter {
|
||||
String sourcePath = "F:\\公司通用模型库.model";
|
||||
// 目标数据库路径
|
||||
String targetPath = "F:\\通用模型库.model";
|
||||
|
||||
System.out.println("开始数据库转换...");
|
||||
System.out.println("源数据库: " + sourcePath);
|
||||
System.out.println("目标数据库: " + targetPath);
|
||||
|
||||
long startTime = System.currentTimeMillis();
|
||||
|
||||
// 创建转换器并执行转换
|
||||
SQLiteConverter converter = new SQLiteConverter(sourcePath, targetPath);
|
||||
converter.convert();
|
||||
|
||||
long endTime = System.currentTimeMillis();
|
||||
double elapsedTime = (endTime - startTime) / 1000.0;
|
||||
System.out.printf("转换完成、耗时: %.2f秒%n", elapsedTime);
|
||||
|
||||
Reference in New Issue
Block a user