This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sbQuery.append(" SELECT DISTINCT referenciaPagamento as referenciaPagamento, "); | |
sbQuery.append(" contrato as contrato, orgao as orgao, fornecedor as fornecedorObj, SUM(pagamentoDocFiscal.valorDocumento) as valorTotalDocumentosPrevisaoPagamento "); | |
sbQuery.append(" FROM ReferenciaPagamento referenciaPagamento "); | |
query = session.createQuery(sbQuery.toString()); | |
query.setResultTransformer(new AliasToBeanResultTransformer(ReferenciaPagamentoDTO.class)); |
NewerOlder