|
@@ -74,6 +74,7 @@ public class FinanceInfController extends BaseController {
|
|
|
if (term.indexOf("-") != -1){
|
|
if (term.indexOf("-") != -1){
|
|
|
term = StringUtils.substringAfter(term,"-");
|
|
term = StringUtils.substringAfter(term,"-");
|
|
|
}
|
|
}
|
|
|
|
|
+ term = AmtUtil.add(term,"1");
|
|
|
/*预计融资成本:融资金额*融资费率*预计融资期限 / 365 + 融资金额 * 服务费率*/
|
|
/*预计融资成本:融资金额*融资费率*预计融资期限 / 365 + 融资金额 * 服务费率*/
|
|
|
//融资金额 * 服务费率
|
|
//融资金额 * 服务费率
|
|
|
String money = AmtUtil.multiply(zfiAmount,zfpcrChargeRate,2);
|
|
String money = AmtUtil.multiply(zfiAmount,zfpcrChargeRate,2);
|
|
@@ -107,6 +108,7 @@ public class FinanceInfController extends BaseController {
|
|
|
m.put("costIng",costIng);
|
|
m.put("costIng",costIng);
|
|
|
//净融资额
|
|
//净融资额
|
|
|
m.put("amountIng",amountIng);
|
|
m.put("amountIng",amountIng);
|
|
|
|
|
+ System.out.println("融资期限:"+termIng+"----融资成本:"+costIng+"----净融资额:"+amountIng);
|
|
|
}
|
|
}
|
|
|
//预计融资期限
|
|
//预计融资期限
|
|
|
m.put("term",term);
|
|
m.put("term",term);
|
|
@@ -114,6 +116,7 @@ public class FinanceInfController extends BaseController {
|
|
|
m.put("cost",cost);
|
|
m.put("cost",cost);
|
|
|
//预计净融资额
|
|
//预计净融资额
|
|
|
m.put("amount",amount);
|
|
m.put("amount",amount);
|
|
|
|
|
+ System.out.println("预计融资期限:"+term+"----预计融资成本:"+cost+"----预计净融资额:"+amount);
|
|
|
}
|
|
}
|
|
|
// LambdaQueryWrapper<ZcFinanceInf> queryWrapper = new LambdaQueryWrapper<>();
|
|
// LambdaQueryWrapper<ZcFinanceInf> queryWrapper = new LambdaQueryWrapper<>();
|
|
|
// queryWrapper.eq(ZcFinanceInf::getZfiSupplierId,companyId);
|
|
// queryWrapper.eq(ZcFinanceInf::getZfiSupplierId,companyId);
|