diff --git a/src-modules/module/xcube/schluesseltabellen/xcube_install_restrictions.sql b/src-modules/module/xcube/schluesseltabellen/xcube_install_restrictions.sql index cfdedee..5261c57 100644 --- a/src-modules/module/xcube/schluesseltabellen/xcube_install_restrictions.sql +++ b/src-modules/module/xcube/schluesseltabellen/xcube_install_restrictions.sql @@ -8,8 +8,9 @@ update xcube set restriction='<> /* and geschlecht=<> */ /* and ${<>} */ /* and L.abschluss in (<>) */ - /* and '' || ca12_staat in <@printkeys Staatsangehörigkeit.allNeededKeysList/> --<> */ - ' where maskeninfo_id=21000; + /* and '''' || ca12_staat in <@printkeys Staatsangehörigkeit.allNeededKeysList/> --<> */ + /* and '''' || semkfz in <@printkeys Wohnort.allNeededKeysList/> and semkfzkz=0 --<> */ + ' where maskeninfo_id=21000; update xcube set restriction=' (bukz!=''PE'' or bukz is null)