mirror of
https://github.com/vran-dev/databasir.git
synced 2025-08-11 02:11:22 +08:00
fix: cursor over limit when sync (#114)
* fix: cursor over limit when sync * fix: code checkstyle
This commit is contained in:
@@ -35,7 +35,7 @@ public class DatabaseTypeController {
|
||||
|
||||
@GetMapping(Routes.DatabaseType.LIST_PAGE)
|
||||
public JsonData<Page<DatabaseTypePageResponse>> listPage(@PageableDefault(sort = "id", direction = DESC)
|
||||
Pageable page,
|
||||
Pageable page,
|
||||
DatabaseTypePageCondition condition) {
|
||||
Page<DatabaseTypePageResponse> data = databaseTypeService.findByPage(page, condition);
|
||||
return JsonData.ok(data);
|
||||
|
@@ -169,6 +169,8 @@ public interface Routes {
|
||||
String CREATE = BASE + "/database_types";
|
||||
|
||||
String RESOLVE_DRIVER_CLASS_NAME = BASE + "/database_types/driver_class_name";
|
||||
|
||||
String UPLOAD_DRIVER = BASE + "/database_types/upload_driver";
|
||||
}
|
||||
|
||||
interface MockData {
|
||||
|
Reference in New Issue
Block a user