- 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/TestController.java
r676144b r1bd8d1e 36 36 User u = userService.findByUsername("client13"); 37 37 Order o = orderService.create((Client) u); 38 orderContainsPartRepository.save(new OrderContainsPart(5,o.get ID_order(),2));39 orderContainsPartRepository.save(new OrderContainsPart(7,o.get ID_order(),1));38 orderContainsPartRepository.save(new OrderContainsPart(5,o.getOrderid(),2)); 39 orderContainsPartRepository.save(new OrderContainsPart(7,o.getOrderid(),1)); 40 40 } 41 41 @GetMapping("/t")
Note:
See TracChangeset
for help on using the changeset viewer.