|
@ -197,7 +197,7 @@ public class DeviceProServiceImpl implements IDeviceProService { |
|
|
|
|
|
|
|
|
if (!projectList.stream().anyMatch(p-> Integer.valueOf(p.get("id") + "").equals(proUserEntity.getDeviceProId()))){ |
|
|
if (!projectList.stream().anyMatch(p-> Integer.valueOf(p.get("id") + "").equals(proUserEntity.getDeviceProId()))){ |
|
|
Map proMap = objectMapper.convertValue(deviceProEntity, Map.class); |
|
|
Map proMap = objectMapper.convertValue(deviceProEntity, Map.class); |
|
|
RedisUtils.addCacheList(String.format(String.format(Constants.PRO_GROUP, proUserEntity.getUserId())), proMap); |
|
|
RedisUtils.addCacheList(String.format(Constants.PRO_GROUP, proUserEntity.getUserId()), proMap); |
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|