рабочий доп
This commit is contained in:
parent
1e958a8b94
commit
128fd2ff2b
@ -50,8 +50,6 @@ public class OrderService {
|
|||||||
|
|
||||||
// @Transactional
|
// @Transactional
|
||||||
// public List<Supplier> suppliers(List<Product> products){
|
// public List<Supplier> suppliers(List<Product> products){
|
||||||
// return em.createQuery("SELECT o.supplier FROM Orders o join o.products as p WHERE p = :products ", Supplier.class)
|
|
||||||
// .setParameter("products", products).getResultList();
|
|
||||||
// return em.createQuery("SELECT o.supplier FROM Orders o WHERE o.products = :products ", Supplier.class)
|
// return em.createQuery("SELECT o.supplier FROM Orders o WHERE o.products = :products ", Supplier.class)
|
||||||
// .setParameter("products", products).getResultList();
|
// .setParameter("products", products).getResultList();
|
||||||
// }
|
// }
|
||||||
|
Loading…
Reference in New Issue
Block a user