fix 优化 windows 数据库备份路径

This commit is contained in:
bwcx_jzy 2022-08-10 22:06:06 +08:00
parent de2f84d9ce
commit 961ea3d742

View File

@ -194,7 +194,7 @@ public class DbConfig {
return;
}
String dbName = this.getDbName();
File recoverBackup = FileUtil.file(dbLocalPathFile, "recover_backup", DateTime.now().toString());
File recoverBackup = FileUtil.file(dbLocalPathFile, "recover_backup", DateTime.now().toString(DatePattern.PURE_DATETIME_FORMAT));
//
IPlugin plugin = PluginFactory.getPlugin("db-h2");
Map<String, Object> map = new HashMap<>(10);