|
|
@ -196,11 +196,7 @@ public class DeviceDataBaStatusServiceImpl implements DeviceDataBaStatusService |
|
|
List<Object> yCommon = new ArrayList<>(); |
|
|
List<Object> yCommon = new ArrayList<>(); |
|
|
|
|
|
|
|
|
//** 获取昨日最新数据 **//
|
|
|
//** 获取昨日最新数据 **//
|
|
|
|
|
|
|
|
|
String redisKey = Constants.REDIS_BA_STATUS_LATEST_VALUE + DateUtil.getYesterdayInJapan(); |
|
|
String redisKey = Constants.REDIS_BA_STATUS_LATEST_VALUE + DateUtil.getYesterdayInJapan(); |
|
|
|
|
|
|
|
|
boolean cacheExist = redisUtil.existsKey(redisKey); |
|
|
|
|
|
|
|
|
|
|
|
Object cacheLastValue = redisUtil.HGet(redisKey, lineDataSearchParams.getDeviceId().toLowerCase()); |
|
|
Object cacheLastValue = redisUtil.HGet(redisKey, lineDataSearchParams.getDeviceId().toLowerCase()); |
|
|
if (null != cacheLastValue) { |
|
|
if (null != cacheLastValue) { |
|
|
try { |
|
|
try { |
|
|
|