Ignore:
Timestamp:
01/05/23 12:40:07 (23 months ago)
Author:
andrejtodorovski <82031894+andrejtodorovski@…>
Branches:
main
Children:
f484b14
Parents:
676144b
Message:

Added views and functionalities for deliveryman, warehouseman and admin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/com/example/autopartz/controller/TestController.java

    r676144b r1bd8d1e  
    3636        User u = userService.findByUsername("client13");
    3737        Order o = orderService.create((Client) u);
    38         orderContainsPartRepository.save(new OrderContainsPart(5,o.getID_order(),2));
    39         orderContainsPartRepository.save(new OrderContainsPart(7,o.getID_order(),1));
     38        orderContainsPartRepository.save(new OrderContainsPart(5,o.getOrderid(),2));
     39        orderContainsPartRepository.save(new OrderContainsPart(7,o.getOrderid(),1));
    4040    }
    4141    @GetMapping("/t")
Note: See TracChangeset for help on using the changeset viewer.