mirror of
https://github.com/CodePhiliaX/Chat2DB.git
synced 2025-08-01 08:52:11 +08:00
修复查询错误
This commit is contained in:
@ -13,7 +13,7 @@ public class MysqlDBManage implements DBManage {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
SQLExecutor.getInstance().execute("use `" + database + "`;", null);
|
SQLExecutor.getInstance().execute("use `" + database + "`;");
|
||||||
} catch (SQLException e) {
|
} catch (SQLException e) {
|
||||||
throw new RuntimeException(e);
|
throw new RuntimeException(e);
|
||||||
}
|
}
|
||||||
|
@ -20,6 +20,6 @@ public class MysqlPlugin implements Plugin {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public DBManage getDBManage() {
|
public DBManage getDBManage() {
|
||||||
return null;
|
return new MysqlDBManage();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -15,7 +15,7 @@ public interface EasyToolsConstant {
|
|||||||
/**
|
/**
|
||||||
* 最大分页大小
|
* 最大分页大小
|
||||||
*/
|
*/
|
||||||
int MAX_PAGE_SIZE = 500;
|
int MAX_PAGE_SIZE = 1000;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 序列化id
|
* 序列化id
|
||||||
|
Reference in New Issue
Block a user