update 生成桩号缓存

This commit is contained in:
Lemon
2023-08-26 15:47:10 +08:00
parent a4df389c7d
commit 8b6b3b7d65
4 changed files with 33 additions and 11 deletions

View File

@@ -168,6 +168,9 @@ public class RedisCache {
public Long getCacheLong(final String key) {
Long l = null;
Object cacheObject = getCacheObject(key);
if (Objects.isNull(cacheObject)) {
return null;
}
if (cacheObject instanceof Integer) {
l = ((Integer) cacheObject).longValue();
} else if (cacheObject instanceof Long) {