Skip to content

Commit

Permalink
docs : 주석 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
jjeongdong committed Aug 13, 2024
1 parent e05f045 commit 1b0d58b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -292,9 +292,9 @@ public List<Photo> deletePhotoList(PhotoDeletedRequest request, Member member) {
public void deletePhotoByFaceTag(Long memberId) {
// Elasticsearch 사진 데이터 삭제
List<Long> photoIdList = photoEsClientRepository.deletePhotoEsByFaceTag(memberId);
List<Photo> photoList = photoRepository.findByIdIn(photoIdList);

// RDBMS 사진 데이터 삭제
List<Photo> photoList = photoRepository.findByIdIn(photoIdList);
photoRepository.deleteAllByPhotoIdList(photoIdList);

// S3 버킷 사진 데이터 삭제
Expand All @@ -308,9 +308,9 @@ public void deletePhotoByFaceTag(Long memberId) {
public void deletePhotoByShareGroupId(Long shareGroupId) {
// Elasticsearch 사진 데이터 삭제
List<Long> photoIdList = photoEsClientRepository.deletePhotoEsByShareGroupId(shareGroupId);
List<Photo> photoList = photoRepository.findByIdIn(photoIdList);

// RDBMS 사진 데이터 삭제
List<Photo> photoList = photoRepository.findByIdIn(photoIdList);
photoRepository.deleteAllByPhotoIdList(photoIdList);

// S3 버킷 사진 데이터 삭제
Expand Down

0 comments on commit 1b0d58b

Please sign in to comment.