diff --git a/src/main/java/org/c4marathon/assignment/settlement/service/SettlementService.java b/src/main/java/org/c4marathon/assignment/settlement/service/SettlementService.java index 0242903a..9b3aaed8 100644 --- a/src/main/java/org/c4marathon/assignment/settlement/service/SettlementService.java +++ b/src/main/java/org/c4marathon/assignment/settlement/service/SettlementService.java @@ -70,7 +70,7 @@ public List getSettlementInfoList(long accountPk, Str Query query = new Query(Criteria.where("memberInfoList.accountPk").is(accountPk)) .addCriteria(Criteria.where("_id").gt(id)) - .with(Sort.by(Sort.Order.asc("createdAt"))) + .with(Sort.by(Sort.Order.desc("createdAt"))) .limit(SettlementUtils.PAGE_SIZE); return mongoTemplate.find(query, SettlementInfoDocument.class)