Commit 32e69bf7 authored by 郝彦辉's avatar 郝彦辉

手动修复数据工具2

parent ef247f5e
......@@ -17,16 +17,16 @@ public class XyqbHistoryDataSourcePreperties {
@Value("${baihang.db.maxPoolSize2}")
private int maxPoolSize;
@Value("${data.source.baihang.jdbcUrl2}")
private String jdbcUrl;
//private String jdbcUrl = "jdbc:mysql://172.20.6.21:4010/rc_real_time_data_pool?useUnicode=true&characterEncoding=UTF8&useSSL=false";
//@Value("${data.source.baihang.jdbcUrl2}")
//private String jdbcUrl;
private String jdbcUrl = "jdbc:mysql://172.20.6.21:4010/rc_syn_to_baihang_report?useUnicode=true&characterEncoding=UTF8&useSSL=false";
@Value("${data.source.baihang.username2}")
private String username;
//private String username="xyqb_history_w";
//@Value("${data.source.baihang.username2}")
//private String username;
private String username="xyqb_history_w";
@Value("${data.source.baihang.password2}")
private String password;
//private String password="KDb18asPu6iEz5lg";
//@Value("${data.source.baihang.password2}")
//private String password;
private String password="KDb18asPu6iEz5lg";
}
......@@ -2516,18 +2516,18 @@ public class BaiHangZhuDaiService {
RepaymentInfoZhuDai repaymentLoanInfo = logBeanList.get(i);
Object[] objects = {repaymentLoanInfo.getLoanId(), repaymentLoanInfo.getTermNo(), repaymentLoanInfo.getStatusConfirmAt(), "A"};
String back_log_record_id = null;
String back_log_record_id = "";
try {
List<RepaymentInfoZhuDai> d3_log_maxList = riskDatasourceJdbcTemplate.query(sql_d3_back_log, objects, new RowMapper<RepaymentInfoZhuDai>() {
@Override
public RepaymentInfoZhuDai mapRow(ResultSet rs, int rowNum) throws SQLException {
RepaymentInfoZhuDai bean = new RepaymentInfoZhuDai();
bean.setStatusConfirmAt(rs.getString("record_id"));
bean.setRecordId(rs.getString("record_id"));
return bean;
}
});
if(d3_log_maxList!=null && d3_log_maxList.size()==1){
if(d3_log_maxList!=null && d3_log_maxList.size() == 1){
back_log_record_id = d3_log_maxList.get(0).getRecordId();
}
......
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