diff --git a/src/main/java/solitour_backend/solitour/gathering/dto/response/GatheringBriefResponse.java b/src/main/java/solitour_backend/solitour/gathering/dto/response/GatheringBriefResponse.java index 2d34c16..0451bbd 100644 --- a/src/main/java/solitour_backend/solitour/gathering/dto/response/GatheringBriefResponse.java +++ b/src/main/java/solitour_backend/solitour/gathering/dto/response/GatheringBriefResponse.java @@ -17,7 +17,7 @@ public class GatheringBriefResponse { private Integer likeCount; private String gatheringCategoryName; - private String userName; + private String nickname; private LocalDateTime scheduleStartDate; private LocalDateTime scheduleEndDate; diff --git a/src/main/java/solitour_backend/solitour/gathering/repository/GatheringRepositoryImpl.java b/src/main/java/solitour_backend/solitour/gathering/repository/GatheringRepositoryImpl.java index 340508c..8e2bc14 100644 --- a/src/main/java/solitour_backend/solitour/gathering/repository/GatheringRepositoryImpl.java +++ b/src/main/java/solitour_backend/solitour/gathering/repository/GatheringRepositoryImpl.java @@ -127,7 +127,7 @@ public Page getGatheringPageFilterAndOrder(Pageable page isGatheringBookmark(userId), countGreatGathering, gathering.gatheringCategory.name, - gathering.user.name, + gathering.user.nickname, gathering.scheduleStartDate, gathering.scheduleEndDate, gathering.deadline, @@ -249,7 +249,7 @@ public List getGatheringLikeCountFromCreatedIn3(Long use isGatheringBookmark(userId), likeCount, gathering.gatheringCategory.name, - gathering.user.name, + gathering.user.nickname, gathering.scheduleStartDate, gathering.scheduleEndDate, gathering.deadline, diff --git a/src/main/resources/zone_category.sql b/src/main/resources/zone_category.sql index a9eaa9a..ab22ac7 100644 --- a/src/main/resources/zone_category.sql +++ b/src/main/resources/zone_category.sql @@ -276,5 +276,6 @@ VALUES (16, '전주시'), (16, '무주군'), (16, '장수군'); -# INSERT INTO `zone_category` (`parent_zone_category_id`, `zone_category_name`) -# VALUES (17, '세종'); \ No newline at end of file +INSERT INTO `zone_category` (`parent_zone_category_id`, `zone_category_name`) VALUES (NULL, '세종'); +INSERT INTO `zone_category` (`parent_zone_category_id`, `zone_category_name`) VALUES (245, '세종'); +