рефакторинг взаимодействия с бд сервера. был индийский код при альтернативной базе на сервере компонент

This commit is contained in:
2025-03-21 01:21:54 +03:00
parent 78ee5bc428
commit 637e9c5c0f
17 changed files with 93 additions and 139 deletions

View File

@@ -16,8 +16,7 @@ public class DeleteUserAccount extends DeleteServerObject<ComponentsServer, User
return server.credentials_db;
}
@Override
protected void ServerAction() throws Exception {
Command(new SafeServerExchangeUnit(ServerCode.DeleteUserAccount, "",
new Pair<>(target.getClass(), target.getPK())));
protected String getDBName() {
return "credentials";
}
}