mirror of
https://github.com/CodePhiliaX/Chat2DB.git
synced 2025-07-30 11:12:55 +08:00
修复查询错误
This commit is contained in:
@ -13,7 +13,7 @@ public class MysqlDBManage implements DBManage {
|
||||
return;
|
||||
}
|
||||
try {
|
||||
SQLExecutor.getInstance().execute("use `" + database + "`;", null);
|
||||
SQLExecutor.getInstance().execute("use `" + database + "`;");
|
||||
} catch (SQLException e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
|
@ -20,6 +20,6 @@ public class MysqlPlugin implements Plugin {
|
||||
|
||||
@Override
|
||||
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
|
||||
|
Reference in New Issue
Block a user