|
@@ -135,8 +135,8 @@ public class FinancingPaymentInfoServiceImpl extends ServiceImpl<FinancingPaymen
|
|
|
smbRefinancingInfo.setQuotaDisburseBatch(financingPaymentInfo.getQuotaDisburseBatch());
|
|
|
smbRefinancingInfo.setRepayPlanResp(repayPlanResp);
|
|
|
smbRefinancingInfo.setRepaymentMethod(SmbRepaymentMethodEnum.PROACTIVE_REPAYMENT.getCode());
|
|
|
- smbRefinancingInfo.setRepayInterest(financingPaymentInfo.getHxCapi());
|
|
|
- smbRefinancingInfo.setRepayPrincipal(financingPaymentInfo.getHxInte());
|
|
|
+ smbRefinancingInfo.setRepayPrincipal(financingPaymentInfo.getHxCapi());
|
|
|
+ smbRefinancingInfo.setRepayInterest(financingPaymentInfo.getHxInte());
|
|
|
if (financingPaymentInfo.getRepayType() != null) {
|
|
|
smbRefinancingInfo.setRepayType(financingPaymentInfo.getRepayType());
|
|
|
}
|
|
@@ -171,6 +171,11 @@ public class FinancingPaymentInfoServiceImpl extends ServiceImpl<FinancingPaymen
|
|
|
smbRefinancingInfo.setQuotaDisburseBatch(financingPaymentInfo.getQuotaDisburseBatch());
|
|
|
smbRefinancingInfo.setRepayPlanResp(repayPlanResp);
|
|
|
smbRefinancingInfo.setRepaymentMethod(SmbRepaymentMethodEnum.PROACTIVE_REPAYMENT.getCode());
|
|
|
+ smbRefinancingInfo.setRepayPrincipal(financingPaymentInfo.getHxCapi());
|
|
|
+ smbRefinancingInfo.setRepayInterest(financingPaymentInfo.getHxInte());
|
|
|
+ if (financingPaymentInfo.getRepayType() != null) {
|
|
|
+ smbRefinancingInfo.setRepayType(financingPaymentInfo.getRepayType());
|
|
|
+ }
|
|
|
|
|
|
ResponseEntity<String> responseEntity = restTemplate.postForEntity(smbRefinancingPlanUpdateUrl, smbRefinancingInfo, String.class);
|
|
|
ResponseJson responseJson = JSONUtil.toBean(responseEntity.getBody(), ResponseJson.class);
|