如何使用Redisson哈希图从Redis服务器检索数据

时间:2019-01-10 13:05:58

标签: java redis

我试图从Redis服务器获取数据,但是它会打印一些垃圾值,例如

RMap<String, String> map =  client.getMap("BD"+bankaccVO.getBankSeq());
                    map.put("bankSeq",String.valueOf(bankaccVO.getBankSeq()));
                    map.put("CompanyId",String.valueOf(bankaccVO.getCompanyId()));
                    map.put("BankSortCode", bankaccVO.getBankSortCode());
                    map.put("BankSwiftCode", bankaccVO.getBankSwiftCode());
                    map.put("BankAcc", bankaccVO.getBankAcc());
                    map.put("CurrencyCode", bankaccVO.getCurrencyCode());
                    map.put("BankIbanCode", bankaccVO.getBankIbanCode());
                    map.put("BankBicCode", bankaccVO.getBankBicCode());
                    map.put("BankName", bankaccVO.getBankName());
                    map.put("Address1", bankaccVO.getAddress1());
                    map.put("Address2", bankaccVO.getAddress2());
                    map.put("Address3", bankaccVO.getAddress3());
                    map.put("City", bankaccVO.getCity());
                    map.put("State", bankaccVO.getState());
                    map.put("PostCode", bankaccVO.getPostCode());
                    map.put("Country", bankaccVO.getCountry()); 

0 个答案:

没有答案