diff --git a/jeecg-module-spectrum-analysis/src/main/java/org/jeecg/common/util/DBUtil.java b/jeecg-module-spectrum-analysis/src/main/java/org/jeecg/common/util/DBUtil.java index 5391ba23..813d05cf 100644 --- a/jeecg-module-spectrum-analysis/src/main/java/org/jeecg/common/util/DBUtil.java +++ b/jeecg-module-spectrum-analysis/src/main/java/org/jeecg/common/util/DBUtil.java @@ -25,8 +25,8 @@ public class DBUtil implements Serializable { e.printStackTrace(); } //sqlite3文件的绝对路径 - //String db = dbFilePath + StringPool.SLASH + "GammaDatabase.db"; - String db = "E:\\Code\\RadionuclideAnalysis\\AnalysisSystemForRadionuclide\\jeecg-module-spectrum-analysis\\src\\main\\java\\org\\jeecg\\common\\db\\GammaDatabase.db"; + String db = dbFilePath + StringPool.SLASH + "GammaDatabase.db"; + //String db = "E:\\Code\\RadionuclideAnalysis\\AnalysisSystemForRadionuclide\\jeecg-module-spectrum-analysis\\src\\main\\java\\org\\jeecg\\common\\db\\GammaDatabase.db"; try { conn = DriverManager.getConnection("jdbc:sqlite:" + db); } catch (SQLException throwables) {