Skip to content

Commit

Permalink
fix: add return state
Browse files Browse the repository at this point in the history
  • Loading branch information
mushroom1324 committed Nov 12, 2024
1 parent 9fcb536 commit f9335c7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ public record GetReturnedProductClothingSales(
@Schema(description = "์ธ๋„ค์ผ") String thumbnailImageUrl,
@Schema(description = "์ƒํ’ˆ๋ช…") String productName,
@Schema(description = "๋“ฑ๊ธ‰") String grade,
@Schema(description = "์‹ ์ฒญ์ผ") String requestDate
@Schema(description = "์‹ ์ฒญ์ผ") String requestDate,
@Schema(description = "์ƒํƒœ") String state
) {
}
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,8 @@ public Page<GetReturnedProductClothingSales> getClothingSalesReturnedProduct(Lon
p.getThumbnailImageUrl(),
p.getProductName(),
p.getQualityRate() != null ? p.getQualityRate().getValue() : null,
p.getClothingSales().getReturnRequestDate() != null ? p.getClothingSales().getReturnRequestDate().format(DateTimeFormatter.ofPattern("MM/dd/yy")) : null
p.getClothingSales().getReturnRequestDate() != null ? p.getClothingSales().getReturnRequestDate().format(DateTimeFormatter.ofPattern("MM/dd/yy")) : null,
p.getReturnState().getValue()
))
.collect(Collectors.toList());
return new PageImpl<>(contents, pageable, total);
Expand Down

0 comments on commit f9335c7

Please sign in to comment.