mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-07-06 23:18:01 +08:00
update
This commit is contained in:
@@ -189,13 +189,20 @@ public class SpringBootTestController {
|
|||||||
public void testRedisSet() {
|
public void testRedisSet() {
|
||||||
String redisKey = "push_station_connector";
|
String redisKey = "push_station_connector";
|
||||||
redisCache.setCacheSet(redisKey, Sets.newHashSet("1"));
|
redisCache.setCacheSet(redisKey, Sets.newHashSet("1"));
|
||||||
|
|
||||||
redisCache.setCacheSet(redisKey, Sets.newHashSet("3"));
|
redisCache.setCacheSet(redisKey, Sets.newHashSet("3"));
|
||||||
|
|
||||||
redisCache.setCacheSet(redisKey, Sets.newHashSet("5"));
|
redisCache.setCacheSet(redisKey, Sets.newHashSet("5"));
|
||||||
|
|
||||||
redisCache.setCacheSet(redisKey, Sets.newHashSet("1"));
|
redisCache.setCacheSet(redisKey, Sets.newHashSet("1"));
|
||||||
|
|
||||||
redisCache.setCacheSet(redisKey, Sets.newHashSet("1"));
|
redisCache.setCacheSet(redisKey, Sets.newHashSet("1"));
|
||||||
|
|
||||||
redisCache.setCacheSet(redisKey, Sets.newHashSet("7"));
|
redisCache.setCacheSet(redisKey, Sets.newHashSet("7"));
|
||||||
|
|
||||||
redisCache.setCacheSet(redisKey, Sets.newHashSet("3"));
|
redisCache.setCacheSet(redisKey, Sets.newHashSet("3"));
|
||||||
|
|
||||||
|
|
||||||
Set<Object> cacheSet = redisCache.getCacheSet(redisKey);
|
Set<Object> cacheSet = redisCache.getCacheSet(redisKey);
|
||||||
System.out.println(cacheSet);
|
System.out.println(cacheSet);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -139,6 +139,7 @@ public class JsowellTask {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 站点的枪口数据推送到高德
|
* 站点的枪口数据推送到高德
|
||||||
|
* jsowellTask.pushToAMap()
|
||||||
*/
|
*/
|
||||||
public void pushToAMap() {
|
public void pushToAMap() {
|
||||||
Set<String> stationIds = redisCache.getCacheSet(CacheConstants.PUSH_STATION_CONNECTOR);
|
Set<String> stationIds = redisCache.getCacheSet(CacheConstants.PUSH_STATION_CONNECTOR);
|
||||||
|
|||||||
Reference in New Issue
Block a user