fix: cursor over limit when sync

This commit is contained in:
vran
2022-04-21 09:55:42 +08:00
parent c1f7d1e99d
commit 203b2951fd
6 changed files with 102 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 {