Skip to content

Commit

Permalink
♻️ refactor/#145 : 영수증 payment date 기준 정렬로 변경
Browse files Browse the repository at this point in the history
Signed-off-by: EunJiJung <[email protected]>
  • Loading branch information
bianbbc87 committed Nov 23, 2024
1 parent 15b43cd commit dfdb267
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public List<Object> 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();
}
Expand Down

0 comments on commit dfdb267

Please sign in to comment.