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