Redis中取出值,转成对象
时间:2019-05-16 16:32:10
收藏:0
阅读:1081
import com.fasterxml.jackson.databind.ObjectMapper; //转成companyEntity CompanyEntity company = mapper.convertValue(redisHandle.get(key), new TypeReference<CompanyEntity>() { });
原文:https://www.cnblogs.com/huanghuanghui/p/10876018.html
评论(0)