diff --git a/src/main/java/com/daon/onjung/onjung/domain/service/OnjungService.java b/src/main/java/com/daon/onjung/onjung/domain/service/OnjungService.java index 7d6eaec..bf99e3f 100644 --- a/src/main/java/com/daon/onjung/onjung/domain/service/OnjungService.java +++ b/src/main/java/com/daon/onjung/onjung/domain/service/OnjungService.java @@ -121,7 +121,7 @@ public List sortOnjungByCreatedAt(Onjung onjung) { if (entity instanceof Donation) { return ((Donation) entity).getCreatedAt(); } else if (entity instanceof Receipt) { - return ((Receipt) entity).getCreatedAt(); + return ((Receipt) entity).getPaymentDate().atTime(0, 0); } else if (entity instanceof Share) { return ((Share) entity).getCreatedAt().atStartOfDay(); }