Skip to content

Commit

Permalink
로그 작성
Browse files Browse the repository at this point in the history
  • Loading branch information
ehBeak committed Nov 15, 2023
1 parent 88c0064 commit 09c7256
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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++) {
Expand Down Expand Up @@ -109,6 +117,7 @@ public HouseholdSettlementCommand getRoommateSettlement(String userEmail, LocalD
.equals(user.getUserId());
}).toList();

System.out.println("size " + filteredSettlements.size());

boolean isSender;

Expand Down

0 comments on commit 09c7256

Please sign in to comment.