Commit 4f346d95 authored by 陈宏杰's avatar 陈宏杰

还款日期限制

parent 6a873119
...@@ -124,5 +124,5 @@ public interface RepaymentLoanInfoMapper { ...@@ -124,5 +124,5 @@ public interface RepaymentLoanInfoMapper {
List<LoanApplicationHistoryIdInfo> queryLoanApplicationHistoryIdInfo(BaiHangTimeRecord baiHangTimeRecord); List<LoanApplicationHistoryIdInfo> queryLoanApplicationHistoryIdInfo(BaiHangTimeRecord baiHangTimeRecord);
Integer queryRepeatOfD3R(@Param("loanId") String loanId, @Param("termNo") Integer termNo, @Param("realRepayment") BigDecimal realRepayment); Integer queryRepeatOfD3R(@Param("loanId") String loanId, @Param("termNo") Integer termNo, @Param("realRepayment") BigDecimal realRepayment, @Param("realRepaymentDate") String realRepaymentDate);
} }
...@@ -729,7 +729,7 @@ public class BaiHangFileReportService { ...@@ -729,7 +729,7 @@ public class BaiHangFileReportService {
try { try {
if (StringUtils.isNotBlank(linkPointTime)) { if (StringUtils.isNotBlank(linkPointTime)) {
//新老数据衔接避免重复报送 //新老数据衔接避免重复报送
repeatCount = repaymentLoanInfoMapper.queryRepeatOfD3R(repaymentLoanInfo.getLoanId(),repaymentLoanInfo.getTermNo(),repaymentLoanInfo.getRealRepayment()); repeatCount = repaymentLoanInfoMapper.queryRepeatOfD3R(repaymentLoanInfo.getLoanId(),repaymentLoanInfo.getTermNo(),repaymentLoanInfo.getRealRepayment(),repaymentLoanInfo.getRealRepaymentDate());
if (Objects.nonNull(repeatCount) && repeatCount > 0) { if (Objects.nonNull(repeatCount) && repeatCount > 0) {
log.info("量化派助贷TO百行报送(D3)-已报送,重复信息 {}",JSONObject.toJSONString(repaymentLoanInfo)); log.info("量化派助贷TO百行报送(D3)-已报送,重复信息 {}",JSONObject.toJSONString(repaymentLoanInfo));
continue; continue;
......
...@@ -1201,6 +1201,7 @@ ...@@ -1201,6 +1201,7 @@
where loan_id = #{loanId,jdbcType=VARCHAR} where loan_id = #{loanId,jdbcType=VARCHAR}
and term_no = #{termNo} and term_no = #{termNo}
and real_repayment = #{realRepayment} and real_repayment = #{realRepayment}
and real_repayment_date = #{realRepaymentDate}
</select> </select>
</mapper> </mapper>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment