Skip to content

Commit

Permalink
docs : 불필요한 import문 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
jjeongdong committed Aug 12, 2024
1 parent 2fa3dcd commit 863c812
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
package com.umc.naoman.domain.photo.converter;

import com.umc.naoman.domain.member.entity.Member;
import com.umc.naoman.domain.photo.dto.PhotoResponse;
import com.umc.naoman.domain.photo.dto.PhotoResponse.PagedPhotoInfo;
import com.umc.naoman.domain.photo.dto.PhotoResponse.PhotoDeleteInfo;
import com.umc.naoman.domain.photo.dto.PhotoResponse.PhotoDownloadUrlListInfo;
import com.umc.naoman.domain.photo.dto.PhotoResponse.PhotoInfo;
import com.umc.naoman.domain.photo.dto.PhotoResponse.PhotoUploadInfo;
import com.umc.naoman.domain.photo.dto.PhotoResponse.PreSignedUrlInfo;
import com.umc.naoman.domain.photo.dto.PhotoResponse.PreSignedUrlListInfo;
import com.umc.naoman.domain.photo.dto.PhotoResponse.SamplePhotoUploadInfo;
import com.umc.naoman.domain.photo.elasticsearch.document.PhotoEs;
import com.umc.naoman.domain.photo.entity.Photo;
import com.umc.naoman.domain.shareGroup.entity.ShareGroup;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,11 +182,11 @@ public void deletePhotoEsByRdsId(List<Long> rdsIdList, Long shareGroupId) {
}

//특정 회원의 얼굴이 태그된 사진 삭제 -> 해당 사진에서 감지된 얼굴벡터도 함께 삭제 return : 삭제된 사진의 rdsId
public List<Long> deletePhotoEsByFaceTag(Long memberId){
public List<Long> deletePhotoEsByFaceTag(Long memberId) {
SearchResponse<PhotoEs> response = null;
List<Long> rdsIdList = new ArrayList<>();
List<String> photoNameList = new ArrayList<>();
try{
try {
response = elasticsearchClient.search(s -> s
.index("photos_es")
.from(0)
Expand Down

0 comments on commit 863c812

Please sign in to comment.