Compare commits
2 Commits
33f119649d
...
695e04c670
| Author | SHA1 | Date | |
|---|---|---|---|
| 695e04c670 | |||
| 9e562fbc1a |
@ -4,12 +4,14 @@ import org.springframework.amqp.rabbit.annotation.EnableRabbit;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.cloud.openfeign.EnableFeignClients;
|
||||
import org.springframework.resilience.annotation.EnableResilientMethods;
|
||||
import org.springframework.scheduling.annotation.EnableScheduling;
|
||||
|
||||
@SpringBootApplication
|
||||
@EnableFeignClients
|
||||
@EnableScheduling
|
||||
@EnableRabbit
|
||||
@EnableResilientMethods
|
||||
public class MangamochiApplication {
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
@ -223,9 +223,7 @@ public class ContentImportService {
|
||||
|
||||
var sortedPageable =
|
||||
PageRequest.of(
|
||||
pageable.getPageNumber(),
|
||||
pageable.getPageSize(),
|
||||
Sort.by(Sort.Direction.DESC, "updatedAt"));
|
||||
pageable.getPageNumber(), pageable.getPageSize(), Sort.by(Sort.Direction.DESC, "id"));
|
||||
|
||||
var page = mangaImportJobRepository.findAll(spec, sortedPageable).map(MangaImportJobDTO::from);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user