Commit 2885bcb5 authored by 郝彦辉's avatar 郝彦辉

姓名,手机错误数据修复

parent 08a39223
......@@ -724,7 +724,28 @@ public class BlackListToolsManagerServiceImpl implements IBlackListToolsManagerS
}
log.info("方法copyBlackListNew()过滤后的list大小: {} ", updateBeanList.size());
if (updateBeanList.size() > 0) {
batchResult = JdbcExecuters.updateBatchExecute(updateBeanList, sql_update, blackListJdbcTemplate, "updat_idNoIsPhone");
//batchResult = JdbcExecuters.updateBatchExecute(updateBeanList, sql_update, blackListJdbcTemplate, "updat_idNoIsPhone");
/*for (TmpBlackGreyList bean : updateBeanList) {
StringBuffer buff = new StringBuffer();
buff.append(" update tmp_black_grey_list set ");
buff.append(" phone_no="+bean.getPhoneNo());
buff.append(", phone_no_md5="+bean.getPhoneNoMd5());
buff.append(", id_no="+bean.getIdNo());
buff.append(", id_no_md5="+bean.getIdNoMd5());
buff.append(", name="+bean.getName());
buff.append(" where id="+bean.getId());
buff.append(";");
log.info(buff.toString());
}*/
for (TmpBlackGreyList bean : updateBeanList) {
List<TmpBlackGreyList> updateBean = new ArrayList<TmpBlackGreyList>();
updateBean.add(bean);
try{
batchResult+= JdbcExecuters.updateBatchExecute(updateBean, sql_update, blackListJdbcTemplate, "updat_idNoIsPhone");
}catch (Exception e){
e.printStackTrace();
}
}
}
}
} catch (Exception e) {
......
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