コード例 #1
0
 public List<CustomerBO> getCoSigningClientsForGlim(Integer accountId)
     throws PersistenceException {
   HashMap<String, Object> queryParameters = new HashMap<String, Object>();
   queryParameters.put(QueryParamConstants.ACCOUNT_ID, accountId);
   List<LoanBO> loans =
       executeNamedQuery(NamedQueryConstants.GET_COSIGNING_CLIENTS_FOR_GLIM, queryParameters);
   List<CustomerBO> clients = new ArrayList<CustomerBO>();
   for (LoanBO loanBO : loans) {
     clients.add(loanBO.getCustomer());
   }
   return clients;
 }