|
|
|
@ -220,9 +220,9 @@ public class ReportBusinessLineSectionServiceImpl implements ReportBusinessLineS |
|
|
|
ClosedStatsCalcResponseDTO yoyClosedStats = reportClosedStatsService.calculateClosedStats(yoyRequestDTO); |
|
|
|
ClosedStatsCalcResponseDTO yoyClosedStats = reportClosedStatsService.calculateClosedStats(yoyRequestDTO); |
|
|
|
BigDecimal momVerifiedRate = momClosedStats.getVerifiedRate(); |
|
|
|
BigDecimal momVerifiedRate = momClosedStats.getVerifiedRate(); |
|
|
|
BigDecimal yoyVerifiedRate = yoyClosedStats.getVerifiedRate(); |
|
|
|
BigDecimal yoyVerifiedRate = yoyClosedStats.getVerifiedRate(); |
|
|
|
section.setMomRate(ReportTrendUtil.calcDiff(currentVerifiedRate, momVerifiedRate)); |
|
|
|
section.setMomRate(ReportTrendUtil.calcAbsDiff(currentVerifiedRate, momVerifiedRate)); |
|
|
|
section.setMomTrend(ReportTrendUtil.calcTrend(currentVerifiedRate, momVerifiedRate)); |
|
|
|
section.setMomTrend(ReportTrendUtil.calcTrend(currentVerifiedRate, momVerifiedRate)); |
|
|
|
section.setYoyRate(ReportTrendUtil.calcDiff(currentVerifiedRate, yoyVerifiedRate)); |
|
|
|
section.setYoyRate(ReportTrendUtil.calcAbsDiff(currentVerifiedRate, yoyVerifiedRate)); |
|
|
|
section.setYoyTrend(ReportTrendUtil.calcTrend(currentVerifiedRate, yoyVerifiedRate)); |
|
|
|
section.setYoyTrend(ReportTrendUtil.calcTrend(currentVerifiedRate, yoyVerifiedRate)); |
|
|
|
result.add(section); |
|
|
|
result.add(section); |
|
|
|
} |
|
|
|
} |
|
|
|
|