'修改qtask相关'
This commit is contained in:
@@ -471,6 +471,10 @@ public class MetaKit {
|
||||
|
||||
return new DbKit(dbAccount.get());
|
||||
}
|
||||
public static DbKit getDbKit(String dbPlatId, String catalog) {
|
||||
Optional<DbAccount> dbAccount = dbPlats.stream().filter(x -> x.getKey().equals(dbPlatId)).findAny();
|
||||
return new DbKit(dbAccount.get(), catalog);
|
||||
}
|
||||
|
||||
public static DbAccount getDbPlat(String dbPlatId) {
|
||||
Optional<DbAccount> dbAccount = dbPlats.stream().filter(x -> x.getKey().equals(dbPlatId)).findFirst();
|
||||
|
||||
Reference in New Issue
Block a user