рефакторинг. переносил текущие объекты в другое место
This commit is contained in:
@@ -11,11 +11,11 @@ public class PublishSapforSettingsCommand extends PublishServerObject<TestingSer
|
||||
}
|
||||
@Override
|
||||
public boolean fillObjectFields() throws Exception {
|
||||
target.sapforsettings_id = Current.getSapforSettings().id;
|
||||
target.sapforsettings_id = Global.mainModule.getSapforSettings().id;
|
||||
return super.fillObjectFields();
|
||||
}
|
||||
@Override
|
||||
protected boolean canStart(Object... args) throws Exception {
|
||||
return Current_.Check(Log, Current.SapforSettings)&&super.canStart(args);
|
||||
return Global.mainModule.Check(Log, Current.SapforSettings)&&super.canStart(args);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user