@Cacheable 命名空间不是value的值吗?你们存在redis存储没有命名空间的情况?
@Cacheable(value = "3003101007", key = "#requestReport.body['carer_id']+''",
condition =
"#requestReport.body['carer_id'] != '' ")
@Override
public ResponseReport getUpHospitalIds(RequestReport requestReport) {
...
}
如上代码,3003101007应该作为命名空间吧?可我的redis只取出了carer_id的值作为了key