redisTemplate.opsForValue(),存hashmap
Jackson2JsonRedisSerializer jackson2JsonRedisSerializer = new Jackson2JsonRedisSerializer<Object>(Object.class);
redisTemplate.setValueSerializer(jackson2JsonRedisSerializer);
ValueOperations<String, HashMap<Integer, TbInvoiceBlue>> Operations = redisTemplate.opsForValue();
HashMap applyidmap = Operations.get("applyidmap");
HashMap<Integer, HashSet> integerHashSetHashMap = new HashMap<>();
TbFyOrder tbFyOrder = new TbFyOrder();
HashMap hashMap = null;
ArrayList<Integer> applyIdList = new ArrayList<>();
Integer applyid = null;
Long blueid= null;
for (Object o : applyidmap.keySet()) {
hashMap = (HashMap) applyidmap.get(o.toString());
applyid = Integer.parseInt(o.toString());
blueid = Long.parseLong(hashMap.get("id").toString());
applyIdList.add(Integer.parseInt(o.toString()));
}