1.存的时候
JSON.toJSONString(对象)
转一下再存
2.取的时候用下面的方法转换
JSON.parseObject((String) redisService.getHash(redisExcelGenerateKey, hashKey), 对象.class);
1.存的时候
JSON.toJSONString(对象)
转一下再存
2.取的时候用下面的方法转换
JSON.parseObject((String) redisService.getHash(redisExcelGenerateKey, hashKey), 对象.class);