Commit 84181606 authored by data爬虫-冯 军凯's avatar data爬虫-冯 军凯

黑名单添加内部渠道和三方数据源黑名单等级更新功能

parent 88c90840
......@@ -33,6 +33,7 @@ public class BlackListUpdateThreeEleServiceImpl implements IBlackListUpdateThree
for (int i = 0; i < blackListQueryTidbVo0s.size(); i++) {
try{
BlackListQueryTidbVo0 blackListQueryTidbVo0 = blackListQueryTidbVo0s.get(i);
List<BlackListQueryTidbVo0> query = blackListJdbcTemplate.query(String.format(Constant.SQL.BLACK_LIST_NEW_QUERY_BY_IDNO_OR_PHONENO_SQL, blackListQueryTidbVo0.getPhoneNo(), blackListQueryTidbVo0.getIdNo()), new BeanPropertyRowMapper<>(BlackListQueryTidbVo0.class));
......@@ -73,6 +74,9 @@ public class BlackListUpdateThreeEleServiceImpl implements IBlackListUpdateThree
blackListJdbcTemplate.update(String.format(Constant.SQL.BLACK_LIST_NEW_UPDATE_BLACK_LIST_LEVEL_SQL, blackListQueryTidbVo0.getBlackLevel(), blackListQueryTidbVo0.getId()));
}
}
}catch(Exception e){
log.error("更新黑名单三要素异常{} ", type, 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