Преглед изворни кода

Dokończenie robienia refów do TERYT_adresy

Mariusz Muszyński пре 8 година
родитељ
комит
56aa642978

+ 13 - 7
SE/schema/ant-object/default_db.BI_audit_ENERGA_PRACOWNICY/BI_audit_ENERGA_PRACOWNICY/BI_audit_ENERGA_PRACOWNICY.xsd

@@ -8,6 +8,7 @@
    xmlns:SystemObjects__x3A__AccessGroup="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/AccessGroup.xsd"
    xmlns:SystemObjects__x3A__AccessOwner="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/AccessOwner.xsd"
    xmlns:default_db__x3A__BI_audit_ENERGA_PRACOWNICY="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_ENERGA_PRACOWNICY.xsd"
+   xmlns:default_db__x3A__TERYT_adresy="https://biuro.biall-net.pl/wfs/default_db/table/TERYT_adresy.xsd"
    xmlns:default_db__x3A__BI_audit_ENERGA_PRACOWNICY_adresy="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_ENERGA_PRACOWNICY_adresy.xsd"
    xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
    xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
@@ -26,6 +27,8 @@
       schemaLocation="../SystemObjects/AccessGroup.xsd"/>
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/AccessOwner.xsd"
       schemaLocation="../SystemObjects/AccessOwner.xsd"/>-->
+   <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/TERYT_adresy.xsd"
+      schemaLocation="../../default_db.TERYT_adresy/TERYT_adresy/TERYT_adresy.xsd"/>
    <xs:import
       namespace="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_ENERGA_PRACOWNICY_adresy.xsd"
       schemaLocation="../../default_db.BI_audit_ENERGA_PRACOWNICY_adresy/BI_audit_ENERGA_PRACOWNICY_adresy/BI_audit_ENERGA_PRACOWNICY_adresy.xsd"/>
@@ -52,7 +55,8 @@
       <xs:annotation>
          <xs:appinfo>
             <system_cache__appinfo:heritage>
-               <system_cache__appinfo:exherit_all system_cache__appinfo:heritage_acl="true" system_cache__appinfo:heritage_sort="true"/>
+               <system_cache__appinfo:exherit_all system_cache__appinfo:heritage_acl="true"
+                  system_cache__appinfo:heritage_sort="true"/>
             </system_cache__appinfo:heritage>
          </xs:appinfo>
       </xs:annotation>
@@ -151,14 +155,16 @@
          <xs:element name="TERYT_SYM_UL" type="xs:int" id="_PRACOWNICY___d4e4819-1_A_TERUL"/>
          <xs:element name="cached" id="_PRACOWNICY___d4e4819-1_cached" type="xs:int">
             <xs:annotation>
-               <xs:documentation>od dnia 2017-11-09 przerobiono zasady przeladowania cache domyslny recache (niepelny) bedzie dogrywal wszystkie niescachowane dane.
-Dodano kolumne cache do wszystkich tabel uczestniczących w analizie powiązań.
-Pelny recache bedzie odswiezal dodatkowo pelne tabele pracownikow i kontrahentow.
-Nie bedzie mozna odbudowac pelnego cache (bo w sumie nie ma potrzeby - co najwyzej serwisowo). 
-A serwisowo to wystarczy dac zapytanie update TABLE set cache = 0;
-Należy mieć na uwadze, że zjebie sie - TODO</xs:documentation>
+               <xs:documentation>od dnia 2017-11-09 przerobiono zasady przeladowania cache domyslny
+                  recache (niepelny) bedzie dogrywal wszystkie niescachowane dane. Dodano kolumne
+                  cache do wszystkich tabel uczestniczących w analizie powiązań. Pelny recache
+                  bedzie odswiezal dodatkowo pelne tabele pracownikow i kontrahentow. Nie bedzie
+                  mozna odbudowac pelnego cache (bo w sumie nie ma potrzeby - co najwyzej
+                  serwisowo). A serwisowo to wystarczy dac zapytanie update TABLE set cache = 0;
+                  Należy mieć na uwadze, że zjebie sie - TODO</xs:documentation>
             </xs:annotation>
          </xs:element>
+         <xs:element maxOccurs="1" minOccurs="0" ref="default_db__x3A__TERYT_adresy:TERYT_adresy"/>
          <xs:element maxOccurs="unbounded" minOccurs="0"
             ref="default_db__x3A__BI_audit_ENERGA_PRACOWNICY_adresy:BI_audit_ENERGA_PRACOWNICY_adresy"
             id="_PRACOWNICY___d5e4854-1">

+ 6 - 1
SE/schema/ant-object/default_db.BI_audit_KRS_address/BI_audit_KRS_address/BI_audit_KRS_address.xsd

@@ -8,6 +8,7 @@
    xmlns:SystemObjects__x3A__AccessGroup="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/AccessGroup.xsd"
    xmlns:SystemObjects__x3A__AccessOwner="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/AccessOwner.xsd"
    xmlns:default_db__x3A__BI_audit_KRS_address="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_KRS_address.xsd"
+   xmlns:default_db__x3A__TERYT_adresy="https://biuro.biall-net.pl/wfs/default_db/table/TERYT_adresy.xsd"
    xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
    xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
    targetNamespace="https://biuro.biall-net.pl/wfs/default_db/table/BI_audit_KRS_address.xsd"
@@ -22,6 +23,8 @@
               schemaLocation="../SystemObjects/AccessGroup.xsd"/>
    <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/SystemObjects/AccessOwner.xsd"
               schemaLocation="../SystemObjects/AccessOwner.xsd"/>-->
+   <xs:import namespace="https://biuro.biall-net.pl/wfs/default_db/table/TERYT_adresy.xsd"
+      schemaLocation="../../default_db.TERYT_adresy/TERYT_adresy/TERYT_adresy.xsd"/>
    <xs:complexType name="BI_audit_KRS_address" id="KRS_address___d5e17521-1_BI_audit_K">
       <xs:sequence id="KRS_address___d5e17522-1">
          <xs:element name="ID" type="xs:integer" id="KRS_address___d5e17523-1_ID"/>
@@ -50,9 +53,11 @@
          <xs:element name="TERYT_SYM_UL" type="xs:integer" id="KRS_address___d5e17539-1_TERYT_SYM_"/>
          <xs:element name="cached" id="KRS_address___d5e5511-1_cached" type="xs:int">
             <xs:annotation>
-               <xs:documentation>Opis aktyalny właściwy w obiekcie BI_audit_ENERGA_PRACOWNICY (referencja).</xs:documentation>
+               <xs:documentation>Opis aktyalny właściwy w obiekcie BI_audit_ENERGA_PRACOWNICY
+                  (referencja).</xs:documentation>
             </xs:annotation>
          </xs:element>
+         <xs:element maxOccurs="1" minOccurs="0" ref="default_db__x3A__TERYT_adresy:TERYT_adresy"/>
       </xs:sequence>
       <xs:attribute name="label" type="xs:string"/>
       <xs:assert test="@label = substring(S_miejscowosc, 1, 20)"/>