-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[Feat/#32] 매장 이미지 수정 기능 추가, 매장 응답 DTO 및 조회 로직 변경, 매장 삭제 시 이미지 삭제 로직 추가
- Loading branch information
Showing
20 changed files
with
303 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
src/main/generated/com/appcenter/marketplace/domain/image/dto/res/QImageResDto.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package com.appcenter.marketplace.domain.image.dto.res; | ||
|
||
import com.querydsl.core.types.dsl.*; | ||
|
||
import com.querydsl.core.types.ConstructorExpression; | ||
import javax.annotation.processing.Generated; | ||
|
||
/** | ||
* com.appcenter.marketplace.domain.image.dto.res.QImageResDto is a Querydsl Projection type for ImageResDto | ||
*/ | ||
@Generated("com.querydsl.codegen.DefaultProjectionSerializer") | ||
public class QImageResDto extends ConstructorExpression<ImageResDto> { | ||
|
||
private static final long serialVersionUID = 796700072L; | ||
|
||
public QImageResDto(com.querydsl.core.types.Expression<Long> id, com.querydsl.core.types.Expression<Integer> order, com.querydsl.core.types.Expression<String> name) { | ||
super(ImageResDto.class, new Class<?>[]{long.class, int.class, String.class}, id, order, name); | ||
} | ||
|
||
} | ||
|
21 changes: 21 additions & 0 deletions
21
src/main/generated/com/appcenter/marketplace/domain/market/dto/res/QMarketResDto.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package com.appcenter.marketplace.domain.market.dto.res; | ||
|
||
import com.querydsl.core.types.dsl.*; | ||
|
||
import com.querydsl.core.types.ConstructorExpression; | ||
import javax.annotation.processing.Generated; | ||
|
||
/** | ||
* com.appcenter.marketplace.domain.market.dto.res.QMarketResDto is a Querydsl Projection type for MarketResDto | ||
*/ | ||
@Generated("com.querydsl.codegen.DefaultProjectionSerializer") | ||
public class QMarketResDto extends ConstructorExpression<MarketResDto> { | ||
|
||
private static final long serialVersionUID = -832137944L; | ||
|
||
public QMarketResDto(com.querydsl.core.types.Expression<Long> marketId, com.querydsl.core.types.Expression<String> name, com.querydsl.core.types.Expression<String> description, com.querydsl.core.types.Expression<String> operationHours, com.querydsl.core.types.Expression<String> closedDays, com.querydsl.core.types.Expression<String> phoneNumber, com.querydsl.core.types.Expression<String> address, com.querydsl.core.types.Expression<? extends java.util.List<com.appcenter.marketplace.domain.image.dto.res.ImageResDto>> imageResDtoList) { | ||
super(MarketResDto.class, new Class<?>[]{long.class, String.class, String.class, String.class, String.class, String.class, String.class, java.util.List.class}, marketId, name, description, operationHours, closedDays, phoneNumber, address, imageResDtoList); | ||
} | ||
|
||
} | ||
|
4 changes: 2 additions & 2 deletions
4
src/main/java/com/appcenter/marketplace/domain/coupon/service/impl/CouponServiceImpl.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
src/main/java/com/appcenter/marketplace/domain/image/dto/res/ImageResDto.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package com.appcenter.marketplace.domain.image.dto.res; | ||
|
||
import com.querydsl.core.annotations.QueryProjection; | ||
import lombok.Getter; | ||
|
||
@Getter | ||
public class ImageResDto { | ||
private final Long id; | ||
private final Integer order; | ||
private final String name; | ||
|
||
|
||
@QueryProjection | ||
public ImageResDto(Long id, Integer order, String name) { | ||
this.id = id; | ||
this.order = order; | ||
this.name = name; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 0 additions & 6 deletions
6
src/main/java/com/appcenter/marketplace/domain/market/MarketRepository.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
src/main/java/com/appcenter/marketplace/domain/market/dto/req/MarketImageUpdateReqDto.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package com.appcenter.marketplace.domain.market.dto.req; | ||
|
||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
|
||
import java.util.List; | ||
import java.util.Map; | ||
|
||
@Getter | ||
@NoArgsConstructor | ||
public class MarketImageUpdateReqDto { | ||
private List<Long> deletedImageIds; // 삭제할 이미지 ID 리스트 | ||
private Map<Long, Integer> changedOrders; // 변경된 순서 (id와 Order를 Map으로 처리) | ||
private List<Integer> addedImageOrders; // 추가된 이미지의 순서 리스트 (순서 번호) | ||
|
||
} |
Oops, something went wrong.