3 次代碼提交 ff8babb2eb ... 99f56a8305

作者 SHA1 備註 提交日期
  liutao 99f56a8305 fix(苏商银行):续授信逻辑修改 1 月之前
  liutao b84a1d22e8 Merge remote-tracking branch 'origin/smb' into smb 1 月之前
  liutao 2195bca5f0 fix(苏商银行):续授信逻辑修改 1 月之前

+ 2 - 0
src/main/java/com/sunxung/factoring/service/creditresolution/impl/CreditResolutionApprovalServiceImpl.java

@@ -125,6 +125,7 @@ public class CreditResolutionApprovalServiceImpl extends ServiceImpl<CreditResol
         User projectManager = userService.get(userDO.getProjectManager());
         User riskManager = userService.get(userDO.getRiskManager());
         requestParams.put("businessNo",projectInformation.getBusinessNumber());
+        requestParams.put("implementingFactoringProducts",creditResolution.getImplementingFactoringProducts());
         requestParams.put("manager",projectManager.getName());
         requestParams.put("currency","CNY");
         requestParams.put("transCode","sop.resolution.report");
@@ -266,6 +267,7 @@ public class CreditResolutionApprovalServiceImpl extends ServiceImpl<CreditResol
             UserDO userDO = cUserService.getById(supplierInfo.getSysUserId());
             User projectManager = userService.get(userDO.getProjectManager());
             User riskManager = userService.get(userDO.getRiskManager());
+            requestParams.put("implementingFactoringProducts",creditResolution.getImplementingFactoringProducts());
             requestParams.put("businessNo",projectInformation.getBusinessNumber());
             requestParams.put("manager",projectManager.getName());
             requestParams.put("currency","CNY");

+ 0 - 2
src/main/java/com/sunxung/factoring/service/creditresolution/impl/CreditResolutionServiceImpl.java

@@ -123,7 +123,6 @@ public class CreditResolutionServiceImpl extends ServiceImpl<CreditResolutionMap
             creditResolution.setcProjectInformationId(cProjectInformationId);
             creditResolution.setCreditType("综合授信");
             creditResolution.setDomesticFactoring("国内保理");
-            creditResolution.setImplementingFactoringProducts("贸理通");
             creditResolution.setImplementingFactoringType("池保理 有追索权 明保理 正向保理");
             ProjectAudit projectAudit = projectAuditService.lambdaQuery().eq(ProjectAudit::getcProjectInformationId, projectInformation.getId()).one();
             BigDecimal projectCreditLimit ;
@@ -198,7 +197,6 @@ public class CreditResolutionServiceImpl extends ServiceImpl<CreditResolutionMap
             creditResolution.setcProjectInformationId(cProjectInformationId);
             creditResolution.setCreditType("综合授信");
             creditResolution.setDomesticFactoring("国内保理");
-            creditResolution.setImplementingFactoringProducts("贸理通");
             creditResolution.setImplementingFactoringType("池保理 有追索权 明保理 正向保理");
             ProjectAudit projectAudit = projectAuditService.lambdaQuery().eq(ProjectAudit::getcProjectInformationId, projectInformation.getId()).one();
             BigDecimal projectCreditLimit ;

+ 1 - 1
src/main/java/com/sunxung/factoring/service/financing/contract/impl/ContractLegalFinalApprovalServiceImpl.java

@@ -160,7 +160,7 @@ public class ContractLegalFinalApprovalServiceImpl extends ServiceImpl<ContractL
                 accountInfoQuery.setAcctType("5");
                 List<AccountInfoQueryResp> accountInfoQueryResps = smbApiService.accountInfoQuery(accountInfoQuery, financingFromInvestors.getOpenId());
                 if(CollectionUtil.isEmpty(accountInfoQueryResps)){
-                    throw new BusinessException(CodeUtil.FAIL,"查询到账户信息");
+                    throw new BusinessException(CodeUtil.FAIL,"查询到账户信息");
                 }
                 AccountInfoQueryResp accountInfoQueryResp = accountInfoQueryResps.get(0);