Skip to content

Commit

Permalink
fix: change null error
Browse files Browse the repository at this point in the history
  • Loading branch information
mushroom1324 committed Nov 12, 2024
1 parent 0ff1b7c commit 9fcb536
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ public Page<GetReturnedProductClothingSales> getClothingSalesReturnedProduct(Lon
p.getThumbnailImageUrl(),
p.getProductName(),
p.getQualityRate() != null ? p.getQualityRate().getValue() : null,
p.getClothingSales().getReturnRequestDate().format(DateTimeFormatter.ofPattern("MM/dd/yy"))
p.getClothingSales().getReturnRequestDate() != null ? p.getClothingSales().getReturnRequestDate().format(DateTimeFormatter.ofPattern("MM/dd/yy")) : null
))
.collect(Collectors.toList());
return new PageImpl<>(contents, pageable, total);
Expand Down

0 comments on commit 9fcb536

Please sign in to comment.