fix: cursor over limit when sync (#114)

* fix: cursor over limit when sync

* fix: code checkstyle
This commit is contained in:
vran
2022-04-21 10:11:07 +08:00
committed by GitHub
parent c1f7d1e99d
commit 137923c740
6 changed files with 103 additions and 82 deletions

View File

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

View File

@@ -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 {