Package labsis.financeiro.model

Examples of labsis.financeiro.model.Cheques


      java.sql.Date dataParaDesconto = new java.sql.Date(ano-1900,mes-1,22);
      float valor = Float.parseFloat(request.getParameter("valor"));
      String banco = request.getParameter("banco");
      String agencia = request.getParameter("agencia");
      int numeroDaConta = Integer.parseInt(request.getParameter("numerodaconta"));
      Cheques ch = new Cheques();
      ch.setClientecpf(clienteCpf);
      ch.setDataParaDesconto(dataParaDesconto);
      ch.setValor(valor);
      ch.setBanco(banco);
      ch.setAgencia(agencia);
      ch.setNumConta(numeroDaConta);

      try {
        DaoCheques  dc = new DaoCheques();
        dc.cadastrarCheque(ch);
       
View Full Code Here


      cstmt.setString(1, s);
     
      ResultSet rs = cstmt.executeQuery();

      while(rs.next()){
        Cheques c = new Cheques();
        c.setCodigo(rs.getInt(1));
        c.setClientecpf(rs.getString(2));
        c.setDataParaDesconto(rs.getDate(3));
        c.setValor(rs.getFloat(4));
        c.setBanco(rs.getString(5));
        c.setAgencia(rs.getString(6));
        c.setNumConta(rs.getInt(7));

        lista.add(c);
      }

      cstmt.close();
View Full Code Here

TOP

Related Classes of labsis.financeiro.model.Cheques

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.