|
@@ -422,10 +422,13 @@ public class FinancingFromInvestorsServiceImpl extends ServiceImpl<FinancingFrom
|
|
|
creditApplyRiskMsg.setLegalPersonEndDate(DateUtil.formatDate(financingFromInvestorsPerson.getValidTo()).replace("-",""));
|
|
|
creditApplyRiskMsg.setIndustry(financingFromInvestors.getIndustryTypeFore());
|
|
|
creditApplyRiskMsg.setEntFoundDate(DateUtil.formatDate(enterprise.getStartSate()).replace("-",""));
|
|
|
+ BigDecimal supplierCredit;
|
|
|
if(supplierInfo.getCreditLimit() == null){
|
|
|
- supplierInfo.setCreditLimit(new BigDecimal(5000000));
|
|
|
+ supplierCredit = new BigDecimal(5000000);
|
|
|
+ }else {
|
|
|
+ supplierCredit = supplierInfo.getCreditLimit().multiply(new BigDecimal(10000));
|
|
|
}
|
|
|
- BigDecimal creditLimit = supplierInfo.getCreditLimit().compareTo(new BigDecimal(5000000)) == -1 ? supplierInfo.getCreditLimit() : new BigDecimal(5000000);
|
|
|
+ BigDecimal creditLimit = supplierCredit.compareTo(new BigDecimal(5000000)) == -1 ? supplierCredit : new BigDecimal(5000000);
|
|
|
creditApplyRiskMsg.setSuggestLimit(creditLimit.toString());
|
|
|
creditApplyRiskMsg.setSuggestInterest("0.08");
|
|
|
log.error("苏商银行授信请求:" + creditApply.toString() + creditApplyRiskMsg.toString());
|