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

修复查询黑名单bug

parent ffa3535c
......@@ -88,7 +88,9 @@ public class BlackListQueryManagerServiceImpl implements IBlackListQueryManagerS
Map<String, Object> userIdMap = queryXyqbUserInfoByPhoneNo.get(0);
List<Map<String, Object>> totalOverdueDaysList = xyqbJdbcTemplate.queryForList(String.format(Constant.SQL.XYQB_QUERY_USER_TOTAL_OVERDUE_SQL, userIdMap.get(Constant.PARAM.USER_ID)));
log.info("用户历史逾期总天数, uuid: {} , name: {} , phoneNo: {} , idNo: {} , type", uuid, name, phoneNo, idNo, type, JSON.toJSONString(totalOverdueDaysList));
List<Map<String, Object>> maxOverdueDaysList = xyqbJdbcTemplate.queryForList(String.format(Constant.SQL.XYQB_QUERY_USER_MAX_OVERDUE_SQL, userIdMap.get(Constant.PARAM.USER_ID)));
log.info("用户最大逾期天数, uuid: {} , name: {} , phoneNo: {} , idNo: {} , type", uuid, name, phoneNo, idNo, type, JSON.toJSONString(maxOverdueDaysList));
queryListBlackListByPhoneNos.stream().filter(o -> Timestamp.valueOf(
LocalDateTime.now().minusYears(channelBlackListExpireConfigMap.get(o.getType())).format(DateTimeFormatter.ofPattern(Constant.DAYE_FORMAT.YYYY_MM_DD_HH_MM_SS))
......
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