jingquan #10

Merged
dyf merged 27 commits from liwenlong/fys-Multi-tenant:jingquan into main 2025-09-11 14:40:24 +08:00
18 changed files with 345 additions and 99 deletions
Showing only changes of commit c057af7cd0 - Show all commits

View File

@ -537,6 +537,6 @@ public class DeviceBJQBizService {
private boolean getDeviceStatus(String deviceImei) {
String deviceOnlineStatusRedisKey = GlobalConstants.GLOBAL_REDIS_KEY+ DEVICE_KEY_PREFIX+ deviceImei + DeviceRedisKeyConstants.DEVICE_ONLINE_STATUS_KEY_PREFIX ;
return StringUtils.isBlank(deviceOnlineStatusRedisKey);
return RedisUtils.getCacheObject(deviceOnlineStatusRedisKey) == null;
}
}

View File

@ -361,7 +361,7 @@ public class DeviceXinghanBizService {
private boolean getDeviceStatus(String deviceImei) {
String deviceOnlineStatusRedisKey = GlobalConstants.GLOBAL_REDIS_KEY+ DEVICE_KEY_PREFIX+ deviceImei + DeviceRedisKeyConstants.DEVICE_ONLINE_STATUS_KEY_PREFIX ;
return StringUtils.isBlank(deviceOnlineStatusRedisKey);
return RedisUtils.getCacheObject(deviceOnlineStatusRedisKey)==null;
}
}