Skip to content

Commit

Permalink
FEAT:fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
rivopelu committed Nov 25, 2024
1 parent 51c266c commit 58f6028
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/com/pos/app/model/response/ResListProduct.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,6 @@ public class ResListProduct {
private BigInteger price;
private String categoryName;
private String categoryId;
private String createdBy;
private Long createdDate;
}
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ public List<ResListProduct> getAllProduct() {
.name(product.getName())
.id(product.getId())
.price(product.getPrice())
.createdBy(accountService.getCurrentAccount(product.getCreatedBy()).getName())
.createdDate(product.getCreatedDate())
.image(product.getImage())
.description(product.getDescription())
.categoryName(product.getCategory().getName())
Expand Down

0 comments on commit 58f6028

Please sign in to comment.