1.审计管理修改

2.数据中心bug修改
This commit is contained in:
wr
2023-05-30 10:05:51 +08:00
parent 119eb9a4fd
commit 34cc8bd8d1
11 changed files with 211 additions and 23 deletions

View File

@@ -230,5 +230,16 @@ public class RedisUtil {
redisTemplate.boundListOps(key).set(index, newObj);
}
/**
* 根据某个key模糊查询,并取出value
* @param key
* @return
*/
public List<?> getLikeListAllValues(String key) {
List<Object> info=new ArrayList<>();
for (String s : redisTemplate.keys(key + "*")) {
info.add(redisTemplate.opsForValue().get(s));
}
return info;
}
}