Selaa lähdekoodia

fix(苏商银行):字典类

liutao 1 kuukausi sitten
vanhempi
commit
c8a5855094

+ 4 - 3
src/main/java/com/sunxung/factoring/service/smb/impl/FinancingFromInvestorsServiceImpl.java

@@ -239,7 +239,7 @@ public class FinancingFromInvestorsServiceImpl extends ServiceImpl<FinancingFrom
                 contractInfo.setContractor(financingFromInvestorsContract.getName());
                 contractInfo.setContractAmount(financingFromInvestorsContract.getContractAmount());
                 contractInfo.setContractNo(financingFromInvestorsContract.getContractNumber());
-                contractInfo.setContractTime(DateUtil.formatDate(financingFromInvestorsContract.getContractDate()));
+                contractInfo.setContractTime(DateUtil.formatDate(financingFromInvestorsContract.getContractDate()).replace("-",""));
                 contractInfos.add(contractInfo);
                 Long file = financingFromInvestorsContract.getFileId();
                 if (file != null) {
@@ -365,9 +365,10 @@ public class FinancingFromInvestorsServiceImpl extends ServiceImpl<FinancingFrom
             creditApplyRiskMsg.setIdCardAddress(financingFromInvestorsPerson.getDomicileAddress());
             creditApplyRiskMsg.setCurrResidenceAddress(financingFromInvestorsPerson.getPermanentAddress());
             creditApplyRiskMsg.setBusiAddress(financingFromInvestors.getBusinessAddress());
-            creditApplyRiskMsg.setLegalPersonStartDate(DateUtil.formatDate(financingFromInvestorsPerson.getValidFrom()));
-            creditApplyRiskMsg.setLegalPersonEndDate(DateUtil.formatDate(financingFromInvestorsPerson.getValidTo()));
+            creditApplyRiskMsg.setLegalPersonStartDate(DateUtil.formatDate(financingFromInvestorsPerson.getValidFrom()).replace("-",""));
+            creditApplyRiskMsg.setLegalPersonEndDate(DateUtil.formatDate(financingFromInvestorsPerson.getValidTo()).replace("-",""));
             creditApplyRiskMsg.setIndustry(financingFromInvestors.getIndustryTypeFore());
+            creditApplyRiskMsg.setEntFoundDate(DateUtil.formatDate(enterprise.getStartSate()).replace("-",""));
             log.info("苏商银行授信请求:" + creditApply.toString() + creditApplyRiskMsg.toString());
             CreditApplyResp creditApplyResp = smbApiService.creditApply(creditApply, creditApplyRiskMsg);
             log.info("苏商银行授信请求結果:" + creditApplyResp.toString());