Posts by Pedro Rafael • 11 points
8 posts
-
-1
votes2
answers67
viewsA: How to make a Count work by taking only the fields I want?
Buddy, like the log that you posted you need to group and for thatgroup by. select PVN.NFNum, COUNT(distinct CtrlCargaNum) as Qtd from CTRL_CARGA cc INNER JOIN PED_VENDA_NOTA_FISCAL PVN ON cc.EmpCod…
-
1
votes1
answer171
viewsA: Doubt in HQL when doing Sum function
Friend, to make the sum sum() you need to group group by. I think your query would be like this: select a.id,sum(b.valor) ,b.campo from entidade1 a inner join entidade2 b GROUP BY a.id, b.campo…
-
0
votes1
answer451
viewsA: Select from two tables. How to return a single list?
Friend you can use query native, and the query would be more or less: SELECT processo.codGeral, processo.classe, processo.numProc, processo.autor, detalhe.codDest, processo.numProc FROM Processos…
-
0
votes2
answers115
viewsA: My search bar does not position correctly
Your question was not clear, but come on, that’s what you seek? .barra { display: inline-flex; background-image: linear-gradient(150deg, #000080, #00BFFF); height: 50px } .pesquisa { margin-right:…
-
0
votes4
answers16718
viewsA: How to put a space between two buttons?
The can help you. I wouldn’t create another html element or another css class. <!DOCTYPE HTML> <HTML> <head> </head> <header> Lorem ipsum dolor sit amet,…
-
0
votes1
answer169
viewsQ: Convert Blob to String in Anglican
Hello, I have a code in Angularjs but it only works when I am in the browser debug. $scope.upload=function(){ var newFiles = []; $scope.carregando = true; angular.forEach($scope.files, function…
-
0
votes1
answer104
viewsA: Merge XLS (JAVA) files
You can create multiple sheets in a single file, and each sheet can contain the information related to each file. Workbook wb = new HSSFWorkbook(); // or new XSSFWorkbook(); Sheet sheet1 =…
javaanswered Pedro Rafael 11 -
0
votes1
answer87
viewsA: How can I not update a page when closing a Richfaces modalPanel?
To not render every page just apply the return false in the sentence. <h:commandLink onclick="Richfaces.hideModalPanel('modalRegistroItemAnalise'); return false;"> <h:graphicImage…