|
@@ -56,8 +56,10 @@ public class FinanceInfController extends BaseController {
|
|
|
String zfiAmount = m.get("zfiAmount");
|
|
|
//利率(融资费率)
|
|
|
String zfpcrRate = m.get("zfpcrRate");
|
|
|
+ zfpcrRate = AmtUtil.divide(zfpcrRate,"100",4);
|
|
|
//平台服务费收取费率(服务费率)
|
|
|
String zfpcrChargeRate = m.get("zfpcrChargeRate");
|
|
|
+ zfpcrChargeRate = AmtUtil.divide(zfpcrChargeRate,"100",4);
|
|
|
//放款日期
|
|
|
String zfrLoanDate = m.get("zfrLoanDate");
|
|
|
//融资状态
|
|
@@ -81,7 +83,7 @@ public class FinanceInfController extends BaseController {
|
|
|
//预计融资成本
|
|
|
String cost = AmtUtil.multiply(zfiAmount,zfpcrRate,2);
|
|
|
cost = AmtUtil.multiply(cost,term,2);
|
|
|
- cost = AmtUtil.divide(cost,"365");
|
|
|
+ cost = AmtUtil.divide(cost,"360");
|
|
|
cost = AmtUtil.add(cost,money,2);
|
|
|
/*预计净融资额:融资金额 – 预计融资成本*/
|
|
|
String amount = AmtUtil.subtract(zfiAmount,cost,2);
|
|
@@ -99,7 +101,7 @@ public class FinanceInfController extends BaseController {
|
|
|
/*融资成本:融资金额*融资费率*融资期限 / 365 + 融资金额 * 服务费率*/
|
|
|
String costIng = AmtUtil.multiply(zfiAmount,zfpcrRate,2);
|
|
|
costIng = AmtUtil.multiply(costIng,termIng,2);
|
|
|
- costIng = AmtUtil.divide(costIng,"365");
|
|
|
+ costIng = AmtUtil.divide(costIng,"360");
|
|
|
costIng = AmtUtil.add(costIng,money,2);
|
|
|
/*净融资额:融资金额 – 融资成本*/
|
|
|
String amountIng = AmtUtil.subtract(zfiAmount,costIng,2);
|