fix: 自测问题bug修复。

This commit is contained in:
tianyongbao
2024-06-13 13:01:33 +08:00
parent 631e14beda
commit 201d4f1608

View File

@@ -1277,9 +1277,17 @@ public class StatisticAnalysisImpl implements IStatisticAnalysisService {
if(staticsTime.equals(monthString)){
double total=vo.getInstallmentAmount()+vo.getTotalInterest();
BigDecimal bigInstallmentAmount=new BigDecimal(decimalFormat.format( vo.getInstallmentAmount()));
BigDecimal bigTotalInterest=new BigDecimal(decimalFormat.format( vo.getTotalInterest()));
BigDecimal bigDecimal=new BigDecimal(decimalFormat.format( total));
actualCreditBillMonth+=bigDecimal.doubleValue();
details+=vo.getBankNameCode()+"借款金额(本息)"+bigDecimal.doubleValue()+"<br/>";
//2是信用卡3是网贷
if(vo.getType().equals("2")){
details+=vo.getBankNameCode()+""+dateFormat.format(vo.getInstallmentDate())+"分期"+bigInstallmentAmount.doubleValue()+",利息"+bigTotalInterest.doubleValue()+",分期本息合计"+bigDecimal.doubleValue()+",结清日期"+dateFormat.format(vo.getCloseDate())+"<br/>";
}
if(vo.getType().equals("3")){
details+=vo.getBankNameCode()+""+dateFormat.format(vo.getInstallmentDate())+"借款"+bigInstallmentAmount.doubleValue()+",利息"+bigTotalInterest.doubleValue()+",借款本息合计"+bigDecimal.doubleValue()+",结清日期"+dateFormat.format(vo.getCloseDate())+"<br/>";
}
}
}