Skip to content

Commit

Permalink
Merge pull request #122 from UMC-CommonPlant/main
Browse files Browse the repository at this point in the history
getPlaceBelongUser 수정
  • Loading branch information
hweyoung authored May 28, 2024
2 parents 9fd2384 + 01eeeaf commit 3ad1fae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public static class getMainPage{
@AllArgsConstructor
@Data
public static class getPlaceBelongUser {
private Long placeId;
private String code;
private String name;
private String imgUrl;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ public List<PlaceDto.getPlaceBelongUser> getPlaceBelongUser(User user) {
List<PlaceDto.getPlaceBelongUser> belongList = new ArrayList<>();
for(Belong b : belongs){
PlaceDto.getPlaceBelongUser belongUser = new PlaceDto.getPlaceBelongUser(
b.getPlace().getPlaceIdx(),
b.getPlace().getCode(),
b.getPlace().getName(),
b.getPlace().getImgUrl());
belongList.add(belongUser);
Expand Down

0 comments on commit 3ad1fae

Please sign in to comment.