Subversion Repositories Integrator Subversion

Rev

Rev 121 | Rev 159 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 121 Rev 122
Line 254... Line 254...
254
                Double valorTotal = 0.0;
254
                Double valorTotal = 0.0;
255
                for (RankingLojaDTO rankingLoja : getRankingLojas()) {
255
                for (RankingLojaDTO rankingLoja : getRankingLojas()) {
256
                        if (VerificadorUtil.naoEstaNulo(rankingLoja.getCustoProdutosVendidos())) {
256
                        if (VerificadorUtil.naoEstaNulo(rankingLoja.getCustoProdutosVendidos())) {
257
                                if (rankingLoja.getCustoProdutosVendidos() > 0.0) {
257
                                if (rankingLoja.getCustoProdutosVendidos() > 0.0) {
258
                                        valorTotal = valorTotal + rankingLoja.getCustoProdutosVendidos();
258
                                        valorTotal = valorTotal + rankingLoja.getCustoProdutosVendidos();
-
 
259
                                }
-
 
260
                        }
-
 
261
                }
-
 
262
                return valorTotal;
-
 
263
        }
-
 
264
       
-
 
265
        public Integer quantidadeTotalPatrimonioAtual() {
-
 
266
                Integer valorTotal = 0;
-
 
267
                for (RankingLojaDTO rankingLoja : getRankingLojas()) {
-
 
268
                        if (VerificadorUtil.naoEstaNulo(rankingLoja.getQuantidadeTotalEstoque())) {
-
 
269
                                if (rankingLoja.getQuantidadeTotalEstoque() > 0.0) {
-
 
270
                                        valorTotal = valorTotal + rankingLoja.getQuantidadeTotalEstoque();
259
                                }
271
                                }
260
                        }
272
                        }
261
                }
273
                }
262
                return valorTotal;
274
                return valorTotal;
263
        }
275
        }