mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 19:15:35 +08:00
update 生成桩号缓存
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user