I'm trying to print only the sales you want with jasperSoft reports, only you're printing all the sales and all the products you then added into other sales.
impress.java
StringrelatorioStream=servlet.getRealPath(this.caminhoRelatorio);parametros.put("foto", caminhofoto);
JasperPrint print = JasperFillManager.fillReport(relatorioStream, this.parametros, connection);