|
@@ -909,7 +909,11 @@ public class FinancingFromInvestorsServiceImpl extends ServiceImpl<FinancingFrom
|
|
financingFromInvestorsNotice.setLimitStatus("失效");
|
|
financingFromInvestorsNotice.setLimitStatus("失效");
|
|
}
|
|
}
|
|
financingFromInvestorsNotice.setValidityPeriod(DateUtil.parseDate(creditProcessQueryResp.getAuthEndDate()));
|
|
financingFromInvestorsNotice.setValidityPeriod(DateUtil.parseDate(creditProcessQueryResp.getAuthEndDate()));
|
|
- financingFromInvestorsNotice.setLoopFlag(creditProcessQueryResp.getCycleType());
|
|
|
|
|
|
+ if(creditProcessQueryResp.getCycleType().equals("0")){
|
|
|
|
+ financingFromInvestorsNotice.setLoopFlag("否");
|
|
|
|
+ }else if(creditProcessQueryResp.getCycleType().equals("1")){
|
|
|
|
+ financingFromInvestorsNotice.setLoopFlag("是");
|
|
|
|
+ }
|
|
financingFromInvestorsNotice.setCreditLimit(new BigDecimal(creditProcessQueryResp.getCreditLimit()));
|
|
financingFromInvestorsNotice.setCreditLimit(new BigDecimal(creditProcessQueryResp.getCreditLimit()));
|
|
financingFromInvestorsNotice.setRemainingAvailableCreditLimit(new BigDecimal(creditProcessQueryResp.getCreditLimit()));
|
|
financingFromInvestorsNotice.setRemainingAvailableCreditLimit(new BigDecimal(creditProcessQueryResp.getCreditLimit()));
|
|
financingFromInvestorsNotice.setEffectiveDate(DateUtil.parseDate(creditProcessQueryResp.getStartDate()));
|
|
financingFromInvestorsNotice.setEffectiveDate(DateUtil.parseDate(creditProcessQueryResp.getStartDate()));
|
|
@@ -920,7 +924,23 @@ public class FinancingFromInvestorsServiceImpl extends ServiceImpl<FinancingFrom
|
|
} else if (creditProcessQueryResp.getPayoffFlag().equals("N")) {
|
|
} else if (creditProcessQueryResp.getPayoffFlag().equals("N")) {
|
|
financingFromInvestorsNotice.setPendingLoanReceipt("否");
|
|
financingFromInvestorsNotice.setPendingLoanReceipt("否");
|
|
}
|
|
}
|
|
- financingFromInvestorsNotice.setGuaranteeMethod(creditProcessQueryResp.getGuaranteeFlag());
|
|
|
|
|
|
+ if(creditProcessQueryResp.getGuaranteeFlag().equals("0")){
|
|
|
|
+ financingFromInvestorsNotice.setGuaranteeMethod("质押");
|
|
|
|
+ }else if(creditProcessQueryResp.getGuaranteeFlag().equals("1")){
|
|
|
|
+ financingFromInvestorsNotice.setGuaranteeMethod("抵押");
|
|
|
|
+ }else if(creditProcessQueryResp.getGuaranteeFlag().equals("3")){
|
|
|
|
+ financingFromInvestorsNotice.setGuaranteeMethod("保证");
|
|
|
|
+ }else if(creditProcessQueryResp.getGuaranteeFlag().equals("4")){
|
|
|
|
+ financingFromInvestorsNotice.setGuaranteeMethod("信用");
|
|
|
|
+ }else if(creditProcessQueryResp.getGuaranteeFlag().equals("5")){
|
|
|
|
+ financingFromInvestorsNotice.setGuaranteeMethod("组合(含保证)担保");
|
|
|
|
+ }else if(creditProcessQueryResp.getGuaranteeFlag().equals("6")){
|
|
|
|
+ financingFromInvestorsNotice.setGuaranteeMethod("组合(不含保证)担保");
|
|
|
|
+ }else if(creditProcessQueryResp.getGuaranteeFlag().equals("7")){
|
|
|
|
+ financingFromInvestorsNotice.setGuaranteeMethod("农户联保");
|
|
|
|
+ }else if(creditProcessQueryResp.getGuaranteeFlag().equals("9")){
|
|
|
|
+ financingFromInvestorsNotice.setGuaranteeMethod("其他");
|
|
|
|
+ }
|
|
financingFromInvestorsNotice.setLimitNumber(creditProcessQueryResp.getProductLimitNo());
|
|
financingFromInvestorsNotice.setLimitNumber(creditProcessQueryResp.getProductLimitNo());
|
|
|
|
|
|
financingFromInvestorsNoticeService.save(financingFromInvestorsNotice);
|
|
financingFromInvestorsNoticeService.save(financingFromInvestorsNotice);
|