|
@ -243,7 +243,7 @@ public class DeviceProServiceImpl implements IDeviceProService { |
|
|
if (!deviceList.stream().anyMatch(p-> Integer.valueOf(p.get("id") + "").equals(deviceEntity.getId()))){ |
|
|
if (!deviceList.stream().anyMatch(p-> Integer.valueOf(p.get("id") + "").equals(deviceEntity.getId()))){ |
|
|
Map deviceMap = objectMapper.convertValue(deviceEntity, Map.class); |
|
|
Map deviceMap = objectMapper.convertValue(deviceEntity, Map.class); |
|
|
|
|
|
|
|
|
RedisUtils.addCacheList(String.format(String.format(Constants.PRO_DEVICE, deviceProUserEntity.getUserId())), deviceMap); |
|
|
RedisUtils.addCacheList(String.format(Constants.PRO_DEVICE, deviceProUserEntity.getUserId()), deviceMap); |
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|