Commit 0a5a7adb authored by 陈宏杰's avatar 陈宏杰

报送兰银D2

parent 4ae282be
...@@ -224,7 +224,7 @@ public class BaiHangFileReportService { ...@@ -224,7 +224,7 @@ public class BaiHangFileReportService {
try { try {
ApplyLoanInfoZhuDai applyLoanInfo = applyLoanInfos.get(i); ApplyLoanInfoZhuDai applyLoanInfo = applyLoanInfos.get(i);
reqId_log = applyLoanInfo.getReqID(); reqId_log = applyLoanInfo.getReqID();
zhuDaiLogList = applyLoanInfoZhuDaiMapper.findApplyLoanInfoZhuDaiLog(applyLoanInfo.getReqID()); zhuDaiLogList = applyLoanInfoZhuDaiMapper.findByApplyId(applyLoanInfo.getApplyId());
if (CollectionUtils.isEmpty(zhuDaiLogList)) { if (CollectionUtils.isEmpty(zhuDaiLogList)) {
try { try {
ApplyLoanInfoZhuDai record = new ApplyLoanInfoZhuDai(); ApplyLoanInfoZhuDai record = new ApplyLoanInfoZhuDai();
...@@ -233,6 +233,7 @@ public class BaiHangFileReportService { ...@@ -233,6 +233,7 @@ public class BaiHangFileReportService {
applyLoanInfoZhuDaiMapper.saveApplyLoanInfoZhuDaiLog(record); applyLoanInfoZhuDaiMapper.saveApplyLoanInfoZhuDaiLog(record);
} catch (Exception e) { } catch (Exception e) {
log.error("量化派助贷TO百行报送(A1)-贷款申请信息保存记录失败", e); log.error("量化派助贷TO百行报送(A1)-贷款申请信息保存记录失败", e);
continue;
} }
//邮箱有错误的就不传 //邮箱有错误的就不传
if (!TuoMinUtils.checkEmail(applyLoanInfo.getEmailAddress())) { if (!TuoMinUtils.checkEmail(applyLoanInfo.getEmailAddress())) {
......
...@@ -68,7 +68,7 @@ ...@@ -68,7 +68,7 @@
left join business_flow.apply_list i on d.order_no=i.apply_no left join business_flow.apply_list i on d.order_no=i.apply_no
left join xyqb.loan_base_info j on a.loan_application_history_id=j.loan_id left join xyqb.loan_base_info j on a.loan_application_history_id=j.loan_id
where a.funding_corp_id in (1080,100040,1030,100030) where a.funding_corp_id in (1080,100040)
and a.contract_term not in (2,3) and a.contract_term not in (2,3)
and a.transaction_status in (2,5) and a.transaction_status in (2,5)
and case when i.created_at is null and h.created_at <=f.created_at then h.created_at and case when i.created_at is null and h.created_at <=f.created_at then h.created_at
......
...@@ -289,7 +289,7 @@ ...@@ -289,7 +289,7 @@
left join business_flow.apply_list i on d.order_no=i.apply_no left join business_flow.apply_list i on d.order_no=i.apply_no
left join xyqb.waiting_funding_corp_operate_people j on a.loan_application_history_id=j.loan_application_history_id left join xyqb.waiting_funding_corp_operate_people j on a.loan_application_history_id=j.loan_application_history_id
where a.funding_corp_id in (1080,100040,1030,100030) and e.term_no=a.contract_term and g.term_no=1 where a.funding_corp_id in (1080,100040) and e.term_no=a.contract_term and g.term_no=1
and a.contract_term not in (2,3) and a.contract_term not in (2,3)
and a.transaction_status in (2,5) and a.transaction_status in (2,5)
and a.loan_paid_at >= #{startTime,jdbcType=VARCHAR} and a.loan_paid_at >= #{startTime,jdbcType=VARCHAR}
......
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