提交 c512b331 authored 作者: renjianyu's avatar renjianyu

--no commit message

上级 f836eecc
......@@ -35,8 +35,8 @@ import io.swagger.annotations.ApiOperation;
@Api(description = "资源管理-导出任务")
public class DatabaseController {
private String url = "jdbc:mysql://192.168.2.229:3306/zzfszzy-resource";
private String fileurl = "jdbc:mysql://192.168.2.229:3306/zzfszzy-file";
private String url = "jdbc:mysql://192.168.2.229:3306/zl-resource";
private String fileurl = "jdbc:mysql://192.168.2.229:3306/zl-file";
private String userName = "root";
private String password = "root";
......@@ -124,8 +124,8 @@ public class DatabaseController {
// 前置路径
String command = "/usr/bin/mysqldump -f -c -q ";
Process process = null;
String fileinfo = "-uroot -proot -t -h192.168.2.229 zzfszzy-file";
String resource = "-uroot -proot -t -h192.168.2.229 zzfszzy-resource";
String fileinfo = "-uroot -proot -t -h192.168.2.229 zl-file";
String resource = "-uroot -proot -t -h192.168.2.229 zl-resource";
// 导出fileinfo库
Set<String> fileList = new HashSet<String>();
if (codes.contains(",")) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论