|
@@ -1938,7 +1938,7 @@ public class LedgerManagementServiceImpl implements LedgerManagementService {
|
|
} else if (assignAmount.compareTo(remandTotAmt) == -1) {
|
|
} else if (assignAmount.compareTo(remandTotAmt) == -1) {
|
|
//分配金额小于归还总额、重新调用还款试算接口 todo
|
|
//分配金额小于归还总额、重新调用还款试算接口 todo
|
|
repayTrialResp = repayTrialBySMB(financingLoanInfo, "2", assignAmount);
|
|
repayTrialResp = repayTrialBySMB(financingLoanInfo, "2", assignAmount);
|
|
- // repayTrialResp = repayTrialBySMB(financingLoanInfo, "3", assignAmount);
|
|
|
|
|
|
+ // repayTrialResp = repayTrialBySMB(financingLoanInfo, "3", assignAmount);
|
|
managementPrincipal = new BigDecimal(repayTrialResp.getRemandPrincipal());
|
|
managementPrincipal = new BigDecimal(repayTrialResp.getRemandPrincipal());
|
|
managementInterest = new BigDecimal(repayTrialResp.getRemandInt());
|
|
managementInterest = new BigDecimal(repayTrialResp.getRemandInt());
|
|
assignAmount = assignAmount.subtract(remandTotAmt);
|
|
assignAmount = assignAmount.subtract(remandTotAmt);
|
|
@@ -1993,7 +1993,7 @@ public class LedgerManagementServiceImpl implements LedgerManagementService {
|
|
RepayTrial repayTrial = new RepayTrial();
|
|
RepayTrial repayTrial = new RepayTrial();
|
|
repayTrial.setDuebillNo(financingLoanInfo.getDueBillNo());
|
|
repayTrial.setDuebillNo(financingLoanInfo.getDueBillNo());
|
|
repayTrial.setRepayKind(repayKind);
|
|
repayTrial.setRepayKind(repayKind);
|
|
- if ("3".equals(repayKind)) {
|
|
|
|
|
|
+ if ("3".equals(repayKind) || "2".equals(repayKind)) {
|
|
repayTrial.setRepayAmt(assignAmount.toString());
|
|
repayTrial.setRepayAmt(assignAmount.toString());
|
|
repayTrial.setPrePmtTp("2");
|
|
repayTrial.setPrePmtTp("2");
|
|
}
|
|
}
|