Skip to content

Commit

Permalink
refactor: 줄바꿈 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
sosow0212 committed Aug 13, 2024
1 parent 38b51a1 commit ccbb4d8
Showing 1 changed file with 19 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,29 +30,25 @@ public Optional<PopupsSpecificResponse> findSpecificById(final Long popupsId) {
.leftJoin(customTag).on(
customTag.targetId.eq(popups.id)
.and(customTag.type.eq(CustomTagType.POPUPS))
)
.transform(
groupBy(popups.id)
.list(constructor(PopupsSpecificResponse.class,
popups.id,
popups.ownerId,
popups.storeDetails.title,
popups.storeDetails.description,
popups.storeDetails.location,
popups.storeDetails.isParkingAvailable,
popups.storeDetails.fee.value,
popups.availableTime.startDate,
popups.availableTime.endDate,
popups.availableTime.openTimes,
popups.latitude.value,
popups.longitude.value,
popups.publicTag,
list(
constructor(CustomTagSimpleResponse.class,
customTag.name
)
)
))
).transform(groupBy(popups.id)
.list(constructor(PopupsSpecificResponse.class,
popups.id,
popups.ownerId,
popups.storeDetails.title,
popups.storeDetails.description,
popups.storeDetails.location,
popups.storeDetails.isParkingAvailable,
popups.storeDetails.fee.value,
popups.availableTime.startDate,
popups.availableTime.endDate,
popups.availableTime.openTimes,
popups.latitude.value,
popups.longitude.value,
popups.publicTag,
list(constructor(CustomTagSimpleResponse.class,
customTag.name
)))
)
);

if (result.isEmpty()) {
Expand Down

0 comments on commit ccbb4d8

Please sign in to comment.