umadinpatientstationout.pas

来自「一整套的源代码」· PAS 代码 · 共 47 行

PAS
47
字号
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 + =
减小字号Ctrl + -
显示快捷键?