no message

This commit is contained in:
2024-10-09 23:37:58 +03:00
parent eb278676cc
commit d1ffab1e70
299 changed files with 1844 additions and 1539 deletions

View File

@@ -1,5 +1,5 @@
package Visual_DVM_2021.Passes.Server;
import Common.CurrentAnchestor;
import Common.Current_;
import _VisualDVM.Current;
import Common.Database.Objects.riDBObject;
import _VisualDVM.Repository.RepositoryServer;
@@ -16,14 +16,14 @@ public abstract class CloneServerObject<S extends RepositoryServer, D extends ri
@Override
protected boolean canStart(Object... args) throws Exception {
src=null;
if (!CurrentAnchestor.Check(Log, currentName()))
if (!Current_.Check(Log, currentName()))
return false;
//---------
pk = null;
if (Current.getAccount().CheckRegistered(Log)) {
target = d.newInstance();
target.SynchronizeFields(src=(D) CurrentAnchestor.get(currentName()));
target.SynchronizeFields(src=(D) Current_.get(currentName()));
//единственное отличие клона - текущий автор
target.description+=" копия";
target.sender_name = Current.getAccount().name;