Commit ef247f5e authored by 郝彦辉's avatar 郝彦辉

手动修复数据工具

parent 54ded95b
......@@ -2509,12 +2509,13 @@ public class BaiHangZhuDaiService {
log.info("查询数据库结束err_D3_041, SQL: {} , 大小: {} , 耗时: {} ", filePath, fsize, (System.currentTimeMillis()-starUtc));
String sql_d3_back_log = " select DISTINCT d3.record_id from repayment_loan_info_zhudai d3 where d3.loan_id=? and d3.term_no=? and d3.status_confirm_at=? and d3.op_code=? ; ";
String sql_d3_max_statusConfirmAt = " select max(d3.status_confirm_at) as status_confirm_at from repayment_loan_info_zhudai d3 where d3.loan_id=?; ";
for(int i=0; i< fsize; i++){
RepaymentInfoZhuDai repaymentLoanInfo = logBeanList.get(i);
Object[] objects = {repaymentLoanInfo.getLoanId(), repaymentLoanInfo.getTermNo(), repaymentLoanInfo.getStatusConfirmAt(), 'A'};
Object[] objects = {repaymentLoanInfo.getLoanId(), repaymentLoanInfo.getTermNo(), repaymentLoanInfo.getStatusConfirmAt(), "A"};
String back_log_record_id = null;
try {
List<RepaymentInfoZhuDai> d3_log_maxList = riskDatasourceJdbcTemplate.query(sql_d3_back_log, objects, new RowMapper<RepaymentInfoZhuDai>() {
......
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