|
@@ -33,6 +33,10 @@ public class TableServiceImpl implements ITableService {
|
|
|
|
|
|
|
|
for (String tableName : tableNames){
|
|
for (String tableName : tableNames){
|
|
|
String[] infos = tableName.split("_");
|
|
String[] infos = tableName.split("_");
|
|
|
|
|
+ if(infos.length != 3){
|
|
|
|
|
+// System.out.println("exchange = " + tableName);
|
|
|
|
|
+ continue;
|
|
|
|
|
+ }
|
|
|
// 交易所和类型
|
|
// 交易所和类型
|
|
|
exchanges.add(String.format("%s_%s", infos[1], infos[2]));
|
|
exchanges.add(String.format("%s_%s", infos[1], infos[2]));
|
|
|
}
|
|
}
|
|
@@ -54,6 +58,10 @@ public class TableServiceImpl implements ITableService {
|
|
|
}
|
|
}
|
|
|
for (String tableName : tableNames){
|
|
for (String tableName : tableNames){
|
|
|
String[] infos = tableName.split("_");
|
|
String[] infos = tableName.split("_");
|
|
|
|
|
+ if(infos.length != 3){
|
|
|
|
|
+// System.out.println("exchange = " + tableName);
|
|
|
|
|
+ continue;
|
|
|
|
|
+ }
|
|
|
// 交易所和类型
|
|
// 交易所和类型
|
|
|
String key = String.format("%s_%s", infos[1], infos[2]);
|
|
String key = String.format("%s_%s", infos[1], infos[2]);
|
|
|
if (exchange_coin.containsKey(key)){
|
|
if (exchange_coin.containsKey(key)){
|