|
@@ -27,6 +27,8 @@ public class InitialRedisService {
|
|
|
|
|
|
public void initialRedisAll() throws Exception {
|
|
|
|
|
|
+
|
|
|
+
|
|
|
System.out.println("初始化开始!");
|
|
|
intialWpScatter();
|
|
|
intialPjScatter();
|
|
@@ -41,7 +43,7 @@ public class InitialRedisService {
|
|
|
|
|
|
public void intialWpScatter() throws Exception {
|
|
|
|
|
|
-
|
|
|
+ redisService.select(9);
|
|
|
|
|
|
Calendar cal = Calendar.getInstance();
|
|
|
cal.set(Calendar.HOUR_OF_DAY, 0);
|
|
@@ -126,7 +128,7 @@ public class InitialRedisService {
|
|
|
public void intialPjScatter() throws Exception {
|
|
|
|
|
|
|
|
|
-
|
|
|
+ redisService.select(9);
|
|
|
Calendar cal = Calendar.getInstance();
|
|
|
cal.set(Calendar.HOUR_OF_DAY, 0);
|
|
|
cal.set(Calendar.MINUTE, 0);
|
|
@@ -208,7 +210,7 @@ public class InitialRedisService {
|
|
|
|
|
|
public void intialLnScatter() throws Exception {
|
|
|
|
|
|
-
|
|
|
+ redisService.select(9);
|
|
|
|
|
|
Calendar cal = Calendar.getInstance();
|
|
|
cal.set(Calendar.HOUR_OF_DAY, 0);
|
|
@@ -290,7 +292,7 @@ public class InitialRedisService {
|
|
|
|
|
|
public void intialWtScatter() throws Exception {
|
|
|
|
|
|
-
|
|
|
+ redisService.select(9);
|
|
|
Calendar cal = Calendar.getInstance();
|
|
|
cal.set(Calendar.HOUR_OF_DAY, 0);
|
|
|
cal.set(Calendar.MINUTE, 0);
|