diff --git a/src/main/java/com/connect/accountApp/domain/settlement/application/service/GetHouseholdSettlementService.java b/src/main/java/com/connect/accountApp/domain/settlement/application/service/GetHouseholdSettlementService.java index 9307403..d576d66 100644 --- a/src/main/java/com/connect/accountApp/domain/settlement/application/service/GetHouseholdSettlementService.java +++ b/src/main/java/com/connect/accountApp/domain/settlement/application/service/GetHouseholdSettlementService.java @@ -73,6 +73,14 @@ public HouseholdSettlementCommand getRoommateSettlement(String userEmail, LocalD // 1. 먼저 같은 얘들은 빼기 findEqualSettlement(keySetDesc, keySetAsc, creditorMap, debtorMap, settlements); + for (Long hi : creditorMap.keySet()) { + System.out.println("creditor " + creditorMap.get(hi)); + } + + for (Long hi : debtorMap.keySet()) { + System.out.println("debtor " + debtorMap.get(hi)); + } + //2. 제일 큰 얘들부터 비교해가며 빼주기 for (int i = 0; i < keySetDesc.size(); i++) { @@ -109,6 +117,7 @@ public HouseholdSettlementCommand getRoommateSettlement(String userEmail, LocalD .equals(user.getUserId()); }).toList(); + System.out.println("size " + filteredSettlements.size()); boolean isSender;