예제 #1
0
  public List<ConceptoPago> getListaConceptoPagoToCobranza(CuentaConceptoDetalleId pId)
      throws BusinessException {
    List<ConceptoPago> lista = null;
    try {
      HashMap<String, Object> mapa = new HashMap<String, Object>();
      mapa.put("intPersEmpresaPk", pId.getIntPersEmpresaPk());
      mapa.put("intCuentaPk", pId.getIntCuentaPk());
      mapa.put("intItemCuentaConcepto", pId.getIntItemCuentaConcepto());
      mapa.put("intItemCtaCptoDet", pId.getIntItemCtaCptoDet());

      lista = dao.getListaConceptoPagotoCobranza(mapa);

    } catch (DAOException e) {
      throw new BusinessException(e);
    } catch (Exception e) {
      throw new BusinessException(e);
    }
    return lista;
  }