|
@@ -50,6 +50,7 @@ public class RankingServiceImpl implements RankingService {
|
|
|
if (sceneDeviceDto.getAttributeId() == null) {
|
|
|
continue;
|
|
|
}
|
|
|
+ // 根据设备code,从redis获取设备的数据
|
|
|
cacheKey = String.format(SMS_WATER_CACHE_KEY, sceneDeviceDto.getDeviceCode());
|
|
|
byte[] bytes = redisUtil.get(cacheKey.getBytes());
|
|
|
if(bytes == null || bytes.length == 0) {
|