Explorar el Código

调用苏商还款计划试算接口优化

liuj hace 1 mes
padre
commit
478f4ea80b

+ 4 - 2
src/main/java/com/sunxung/factoring/service/financing/review/impl/ReviewQuotaDisburseServiceImpl.java

@@ -2058,14 +2058,14 @@ public class ReviewQuotaDisburseServiceImpl extends ServiceImpl<ReviewQuotaDisbu
     }
 
     /**
-     * 调用苏商银行还款试算接口获取还款计划
+     * 调用苏商银行还款计划试算接口获取还款计划
      *
      * @param reviewFinancingInfo
      * @param endDate
      * @return
      */
     private RepayPlanTrialResp getRepayPlanTrialRespBySmb(ReviewFinancingInfo reviewFinancingInfo, DateTime endDate) {
-        //调用苏商银行还款试算接口
+        //调用苏商银行还款计划试算接口
         RepayPlanTrial repayPlanTrial = new RepayPlanTrial();
         //贷款金额
         repayPlanTrial.setLnAmt(reviewFinancingInfo.getFinancingAmount().toString());
@@ -2086,6 +2086,8 @@ public class ReviewQuotaDisburseServiceImpl extends ServiceImpl<ReviewQuotaDisbu
         repayPlanTrial.setMatuDate(matuDateStr);
         //还款方式
         repayPlanTrial.setRepayMtd("2");
+        //todo 还款周期
+        repayPlanTrial.setRepayCycl("1MA20");
         //查询授信完成后客户的openId
         FinancingFromInvestors financingFromInvestors = getFinancingFromInvestors(reviewFinancingInfo);
         if (financingFromInvestors == null || financingFromInvestors.getOpenId() == null) {