Subversion Repositories SmartDukaan

Rev

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

Rev 33364 Rev 33365
Line 51... Line 51...
51
            List<FofoSidbiSanction> fofoSidbiSanctionList = fofoSactionEntry.getValue();
51
            List<FofoSidbiSanction> fofoSidbiSanctionList = fofoSactionEntry.getValue();
52
            int fofoId = fofoSactionEntry.getKey();
52
            int fofoId = fofoSactionEntry.getKey();
53
            BigDecimal suggestedLimit = BigDecimal.valueOf(fofoSidbiSanctionList.stream().mapToDouble(x -> x.getUnsettledAmount()).sum());
53
            BigDecimal suggestedLimit = BigDecimal.valueOf(fofoSidbiSanctionList.stream().mapToDouble(x -> x.getUnsettledAmount()).sum());
54
            fofoSuggetedLimitMap.put(fofoId, suggestedLimit);
54
            fofoSuggetedLimitMap.put(fofoId, suggestedLimit);
55
        }
55
        }
-
 
56
        LOGGER.info("GetSuggestedLimitMap - {}", fofoSuggetedLimitMap);
56
        return fofoSuggetedLimitMap;
57
        return fofoSuggetedLimitMap;
57
    }
58
    }
58
 
59
 
59
    private double getActualLoan(double receivedAmount) {
60
    private double getActualLoan(double receivedAmount) {
60
        double number = Math.ceil(receivedAmount / ONE_LAC);
61
        double number = Math.ceil(receivedAmount / ONE_LAC);