# Conflicts:
#	review/src/main/java/com/ktds/hi/review/infra/gateway/ExternalReviewEventHubAdapter.java
This commit is contained in:
UNGGU0704 2025-06-18 10:06:52 +09:00
commit 3a59c0f279
15 changed files with 1291 additions and 1284 deletions

View File

@ -87,6 +87,7 @@ public class StoreService implements StoreUseCase {
.rating(store.getRating())
.reviewCount(store.getReviewCount())
.status("운영중")
.imageUrl(store.getImageUrl())
.operatingHours(store.getOperatingHours())
.build())
.collect(Collectors.toList());
@ -129,7 +130,7 @@ public class StoreService implements StoreUseCase {
.orElseThrow(() -> new BusinessException("STORE_ACCESS_DENIED", "매장에 대한 권한이 없습니다."));
store.updateInfo(request.getStoreName(), request.getAddress(), request.getDescription(),
request.getPhone(), request.getOperatingHours());
request.getPhone(), request.getOperatingHours(), request.getImageUrl());
storeJpaRepository.save(store);

View File

@ -39,4 +39,6 @@ public class MyStoreListResponse {
@Schema(description = "운영시간", example = "월-금 09:00-21:00")
private String operatingHours;
@Schema(description = "매장 이미지")
private String imageUrl;
}

View File

@ -38,4 +38,7 @@ public class StoreUpdateRequest {
@Schema(description = "매장 태그 목록", example = "[\"맛집\", \"혼밥\", \"가성비\"]")
private List<String> tags;
@Schema(description = "매장 이미지")
private String imageUrl;
}

View File

@ -132,13 +132,14 @@ public class StoreEntity {
* 매장 기본 정보 업데이트
*/
public void updateInfo(String storeName, String address, String description,
String phone, String operatingHours) {
String phone, String operatingHours, String imageUrl) {
this.storeName = storeName;
this.address = address;
this.description = description;
this.phone = phone;
this.operatingHours = operatingHours;
this.updatedAt = LocalDateTime.now();
this.imageUrl = imageUrl;
}
/**