Skip to content

Commit

Permalink
#9 [Update] 가게 이름 대신 가게 주소로 검색하도록 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
JSoi committed Jul 23, 2022
1 parent 49369f0 commit dfd71dd
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,10 @@ private void mapApiToStoreWithPaging(PublicApiV2Form.ServList servList) {
// TODO 태그가 비어있다면 어떻게 해야 할 지 ? -> 저장 혹은 버리기 (현재 버리기로 구현)
if (barrierTagList.isEmpty()) return;

// 위도, 경도, 업장 이름을 통해 업장 정보를 얻어온다
/*
* Strategy = 업장명 + 위/경도를 사용해 Store가 존재한다면, 하나만 저장
* 존재하지 않는다면, 주소 + 위/경도를 사용해 해당 건물의 배리어 프리 매장들을
* 주소 + 위/경도를 사용해 해당 건물의 배리어 프리 매장들을
* 등록하도록 변경 */
if (searchWithStoreName(servList, barrierTagList)) return;
// if (searchWithStoreName(servList, barrierTagList)) return;
// 검색 결과가 없을 경우
searchWithAddress(servList, barrierTagList);
}
Expand Down

0 comments on commit dfd71dd

Please sign in to comment.