|
|
@@ -142,7 +142,12 @@ public function objectStructView($item) {
|
|
|
$gml = $this->addChild($wfs, 'gml:featureMember');
|
|
|
|
|
|
$query = "select `ID` from `BI_audit_ALL` where `REMOTE_TABLE` = " . DB::getPDO()->quote($table) . " and `REMOTE_ID` = {$primaryKey}";
|
|
|
- if (!($ID = DB::getPDO()->fetchValue($query))) self::throwServiceException("Błąd danych");
|
|
|
+ if (!($ID = DB::getPDO()->fetchValue($query)))
|
|
|
+
|
|
|
+ objectStructureAction('default_db/BI_audit_CEIDG_pelnomocnicy/BI_audit_CEIDG_pelnomocnicy');
|
|
|
+
|
|
|
+ //self::throwServiceException("Błąd danych");
|
|
|
+
|
|
|
$this->findRelations($gml, $ID, $resolveDepth);
|
|
|
|
|
|
foreach ($this->tablesUsed as $table) $this->addAttribute($wfs, "xmlns:default_db__x3A__{$table}", "https://biuro.biall-net.pl/wfs/default_db/{$table}");
|