|
@@ -14,6 +14,6 @@ public interface DataSyncRepo
|
|
|
JpaRepository<DataSyncEntity, Long>,
|
|
|
JpaSpecificationExecutor<DataSyncEntity> {
|
|
|
|
|
|
- List<DataSyncEntity> findTop10ByComponent(String component);
|
|
|
+ List<DataSyncEntity> findTop10ByComponentOrderById(String component);
|
|
|
|
|
|
}
|