📄 umadinpatientstationout.pas
字号:
unit UMADInpatientStationOut;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, UMADInpatientStation, Provider, OraProvider, DB, MemDS,
DBAccess, Ora, OraSmart, DBClient, UModel, MyTools, MyFactory, UMPSysEnv;
type
TMADInpatientStationOut = class(TMADInpatientStation)
private
{ Private declarations }
protected
procedure PrepareQuery (Parameters : MyTools.IQueryParameters); override;
public
end;
TInpatientStationOutFactory = class(TModelFactory)
function NewModel : TModel; override;
end;
implementation
uses UPrimaryDataModel;
{$R *.dfm}
{ TInpatientStationOutFactory }
{ TInpatientStationOutFactory }
function TInpatientStationOutFactory.NewModel: TModel;
begin
Result := TMADInpatientStationOut.Create(GetOwner);
end;
{ TMADInpatientStationOut }
procedure TMADInpatientStationOut.PrepareQuery(Parameters: IQueryParameters);
begin
DataSet.ParamByName('SECTIONOFFICEID').AsInteger := MPSysEnv.SectionOfficeKey.GetKey;
end;
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -