Dalsi zmeny
This commit is contained in:
@ -340,7 +340,7 @@ uses
|
||||
|
||||
{ TSDGPolozkaOZService }
|
||||
|
||||
function TSDGPolozkaOZService.GetByID(const AID: Integer): TPohybOZ;
|
||||
function TSDGPolozkaOZService.GetByID (const AID: Integer): TPohybOZ;
|
||||
var lSQL: string;
|
||||
p: TDictionary<string, string>;
|
||||
pds: TSDGSerioveCisloPohybOZService;
|
||||
@ -377,7 +377,7 @@ uses
|
||||
|
||||
|
||||
|
||||
function TSDGPolozkaOZService.GetByParams(params: TDictionary<string, string>): TObjectList<TPohybOZ>;
|
||||
function TSDGPolozkaOZService.GetByParams (params: TDictionary<string, string>): TObjectList<TPohybOZ>;
|
||||
var lSQL, where, podmSDGPolozka: string;
|
||||
id,idPZ, cnt, rNo: integer;
|
||||
lQry: TFDQuery;
|
||||
@ -1056,6 +1056,8 @@ uses
|
||||
|
||||
// pro micharnu nejsou prikazy pozastavovany
|
||||
where:= where + IfThen(where<>'', ' AND ', '') + 'main.StavPrikazu IN (30' + IfThen(typPrikazu<>1, ',40', '') + ')';
|
||||
where:= where + IfThen(where<>'', ' AND ', '') + 'main.Rada<>N''009''';
|
||||
where:= where + IfThen(where<>'', ' AND ', '') + 'main.Rada LIKE N''0%''';
|
||||
|
||||
|
||||
if (where<>'') then
|
||||
|
||||
Reference in New Issue
Block a user