Skip to content

Commit

Permalink
refactor(#104): 테스트 때문에 주석 처리했던 부분 해제
Browse files Browse the repository at this point in the history
  • Loading branch information
jusung-c committed Nov 17, 2023
1 parent 2da9f16 commit 2a93f3a
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -175,12 +175,12 @@ public void deleteHouseworkInfo(HouseworkInfoDeleteRequest request) {
requestTodo.deleteHouseworkTodo();

// 요청 날짜의 todoList를 조회 후 dirtyBit 체킹
// todoListRepository.findByGroupInfoIdAndDate(groupId, requestDate)
// .ifPresent(todoList -> {
// todoList.checkDirtyBit();
// todoListRepository.save(todoList);
// log.info(">>>> dirtyBit Checking TodoList id: {}", todoList.getId());
// });
todoListRepository.findByGroupInfoIdAndDate(groupId, requestDate)
.ifPresent(todoList -> {
todoList.checkDirtyBit();
todoListRepository.save(todoList);
log.info(">>>> dirtyBit Checking TodoList id: {}", todoList.getId());
});

// 비단건 집안일(HOUSEWORK_PERIOD_DAY를 제외한 모든 경우)이고 반복되는 모든 건을 삭제하고 싶을 경우
} else if (deleteType == HouseworkInfoDeleteType.ALL) {
Expand Down

0 comments on commit 2a93f3a

Please sign in to comment.