use mandatRef as additional query param to find unique result
This commit is contained in:
parent
4aea51728e
commit
df9986361f
@ -92,6 +92,7 @@ public class SEPADirectDebitService extends AbstractModule<SEPADirectDebitVO> im
|
||||
query.setParameter("bankIBAN", prototype.get("bankIBAN").getValue());
|
||||
query.setParameter("bankBIC", prototype.get("bankBIC").getValue());
|
||||
query.setParameter("customer", prototype.get("customer").getValue());
|
||||
query.setParameter("mandatRef", prototype.get("mandatRef").getValue());
|
||||
query.setParameter("mandatSigned", prototype.get("mandatSigned").getValue());
|
||||
return (SEPADirectDebit) query.getSingleResult();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user