- Timestamp:
- 01/05/23 12:40:07 (23 months ago)
- Branches:
- main
- Children:
- f484b14
- Parents:
- 676144b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/example/autopartz/controller/PartController.java
r676144b r1bd8d1e 77 77 } 78 78 Order order = (Order) session.getAttribute("order"); 79 orderContainsPartRepository.save(new OrderContainsPart(id,order.get ID_order(),quantity));79 orderContainsPartRepository.save(new OrderContainsPart(id,order.getOrderid(),quantity)); 80 80 try { 81 81 response.sendRedirect("/products");
Note:
See TracChangeset
for help on using the changeset viewer.