fix: 自测问题bug修复。
This commit is contained in:
@@ -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/>";
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user