|
|
|
@ -48,6 +48,7 @@ import java.text.Collator;
|
|
|
|
|
import java.util.ArrayList; |
|
|
|
|
import java.util.Collections; |
|
|
|
|
import java.util.HashMap; |
|
|
|
|
import java.util.HashSet; |
|
|
|
|
import java.util.Iterator; |
|
|
|
|
import java.util.LinkedHashMap; |
|
|
|
|
import java.util.LinkedHashSet; |
|
|
|
@ -295,6 +296,22 @@ public abstract class DesignTableDataManager {
|
|
|
|
|
return list.toArray(new String[0]); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 获取所有的数据集名称,无论模板是不是有数据集的权限 |
|
|
|
|
*/ |
|
|
|
|
public static Set<String> getAllDSNamesWithoutPermissions(TableDataSource source) { |
|
|
|
|
Set<String> names = new HashSet<>(); |
|
|
|
|
String[] allDSNames = getAllDSNames(source); |
|
|
|
|
Map<String, TableData> tableDatas = TableDataConfig.getInstance().getTableDatas(); |
|
|
|
|
for (String dsName : allDSNames) { |
|
|
|
|
names.add(dsName); |
|
|
|
|
} |
|
|
|
|
for (Map.Entry<String, TableData> entry : tableDatas.entrySet()) { |
|
|
|
|
names.add(entry.getKey()); |
|
|
|
|
} |
|
|
|
|
return names; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 不根据过滤设置,返回当前模板数据集、服务器数据集、存储过程本身,是有顺序的 |
|
|
|
|
*/ |
|
|
|
|