修复查询错误

This commit is contained in:
robin
2023-06-23 16:35:26 +08:00
parent f0829b28de
commit 1abb566021
3 changed files with 3 additions and 3 deletions

View File

@ -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);
}

View File

@ -20,6 +20,6 @@ public class MysqlPlugin implements Plugin {
@Override
public DBManage getDBManage() {
return null;
return new MysqlDBManage();
}
}

View File

@ -15,7 +15,7 @@ public interface EasyToolsConstant {
/**
* 最大分页大小
*/
int MAX_PAGE_SIZE = 500;
int MAX_PAGE_SIZE = 1000;
/**
* 序列化id