소스 검색

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

liuj 1 개월 전
부모
커밋
478f4ea80b
1개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. 4 2
      src/main/java/com/sunxung/factoring/service/financing/review/impl/ReviewQuotaDisburseServiceImpl.java

+ 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) {