From 7c331adc238e58f78834ac016ac69b427b3e6e44 Mon Sep 17 00:00:00 2001 From: Fabien Morin <fabien@nexedi.com> Date: Tue, 1 Jul 2008 18:18:02 +0000 Subject: [PATCH] 2008-07-01 fabien * add birth_detail table to be able to catalog details relative to birth (place and date) git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22198 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../z0_drop_birth_detail.catalog_keys.xml | 5 + .../z0_drop_birth_detail.xml | 149 +++++++++++++ ...catalog_birth_detail_list.catalog_keys.xml | 13 ++ .../z_catalog_birth_detail_list.xml | 200 ++++++++++++++++++ .../z_create_birth_detail.catalog_keys.xml | 2 + .../z_create_birth_detail.xml | 163 ++++++++++++++ .../erp5_mysql_innodb/z_create_egov.xml | 4 - .../z_uncatalog_birth_detail.catalog_keys.xml | 5 + .../z_uncatalog_birth_detail.xml | 160 ++++++++++++++ .../result_table_list.xml | 1 + .../bt/change_log | 3 + .../bt/revision | 2 +- .../bt/template_catalog_method_id_list | 4 + .../bt/template_catalog_result_table_list | 3 +- 14 files changed, 708 insertions(+), 6 deletions(-) create mode 100644 bt5/erp5_egov_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_drop_birth_detail.catalog_keys.xml create mode 100644 bt5/erp5_egov_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_drop_birth_detail.xml create mode 100644 bt5/erp5_egov_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_birth_detail_list.catalog_keys.xml create mode 100644 bt5/erp5_egov_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_birth_detail_list.xml create mode 100644 bt5/erp5_egov_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_create_birth_detail.catalog_keys.xml create mode 100644 bt5/erp5_egov_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_create_birth_detail.xml create mode 100644 bt5/erp5_egov_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_uncatalog_birth_detail.catalog_keys.xml create mode 100644 bt5/erp5_egov_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_uncatalog_birth_detail.xml diff --git a/bt5/erp5_egov_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_drop_birth_detail.catalog_keys.xml b/bt5/erp5_egov_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_drop_birth_detail.catalog_keys.xml new file mode 100644 index 0000000000..baf9e92bd9 --- /dev/null +++ b/bt5/erp5_egov_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_drop_birth_detail.catalog_keys.xml @@ -0,0 +1,5 @@ +<catalog_method> + <item key="sql_clear_catalog" type="int"> + <value>1</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/bt5/erp5_egov_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_drop_birth_detail.xml b/bt5/erp5_egov_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_drop_birth_detail.xml new file mode 100644 index 0000000000..4fcdfbfd47 --- /dev/null +++ b/bt5/erp5_egov_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z0_drop_birth_detail.xml @@ -0,0 +1,149 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="SQL" module="Products.ZSQLMethods.SQL"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list/> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>_col</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>connection_id</string> </key> + <value> <string>erp5_sql_connection</string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>z0_drop_birth_detail</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string>DROP TABLE IF EXISTS birth_detail\n +</string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="__newobj__" module="copy_reg"/> + </klass> + <tuple> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </tuple> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string>DROP TABLE IF EXISTS birth_detail\n +</string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_egov_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_birth_detail_list.catalog_keys.xml b/bt5/erp5_egov_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_birth_detail_list.catalog_keys.xml new file mode 100644 index 0000000000..82dc7110a8 --- /dev/null +++ b/bt5/erp5_egov_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_birth_detail_list.catalog_keys.xml @@ -0,0 +1,13 @@ +<catalog_method> + <item key="sql_catalog_object_list" type="int"> + <value>1</value> + </item> + <item key="_is_filtered_archive" type="int"> + <value>1</value> + </item> + <item key="_filter_expression_archive" type="str"> + <value>python: here.getPortalType() == 'Person'</value> + </item> + <item key="_filter_type_archive" type="tuple"> + </item> +</catalog_method> \ No newline at end of file diff --git a/bt5/erp5_egov_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_birth_detail_list.xml b/bt5/erp5_egov_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_birth_detail_list.xml new file mode 100644 index 0000000000..652c92b4b3 --- /dev/null +++ b/bt5/erp5_egov_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_catalog_birth_detail_list.xml @@ -0,0 +1,200 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="SQL" module="Products.ZSQLMethods.SQL"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>getBirthplaceAddressCity</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>getStartDate</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>uid</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>uid</string> +<string>getStartDate</string> +<string>getBirthplaceAddressCity</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>uid\r\n +getStartDate\r\n +getBirthplaceAddressCity</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>connection_id</string> </key> + <value> <string>erp5_sql_connection</string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>z_catalog_birth_detail_list</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-if expr="_.len(_.range(_.len(uid))) > 0">\n +REPLACE INTO\n + birth_detail\n +VALUES\n + <dtml-in prefix="loop" expr="_.range(_.len(uid))">\n +( \n + <dtml-sqlvar expr="uid[loop_item]" type="int">,\n + <dtml-sqlvar expr="getBirthplaceAddressCity[loop_item]" type="string" optional>,\n + <dtml-sqlvar expr="getStartDate[loop_item]" type="datetime" optional>\n +)\n +<dtml-if sequence-end><dtml-else>,</dtml-if>\n + </dtml-in>\n +</dtml-if>\n + + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="__newobj__" module="copy_reg"/> + </klass> + <tuple> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </tuple> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<dtml-if expr="_.len(_.range(_.len(uid))) > 0">\n +REPLACE INTO\n + birth_detail\n +VALUES\n + <dtml-in prefix="loop" expr="_.range(_.len(uid))">\n +( \n + <dtml-sqlvar expr="uid[loop_item]" type="int">,\n + <dtml-sqlvar expr="getBirthplaceAddressCity[loop_item]" type="string" optional>,\n + <dtml-sqlvar expr="getStartDate[loop_item]" type="datetime" optional>\n +)\n +<dtml-if sequence-end><dtml-else>,</dtml-if>\n + </dtml-in>\n +</dtml-if>\n + + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_egov_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_create_birth_detail.catalog_keys.xml b/bt5/erp5_egov_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_create_birth_detail.catalog_keys.xml new file mode 100644 index 0000000000..7d6996cb9c --- /dev/null +++ b/bt5/erp5_egov_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_create_birth_detail.catalog_keys.xml @@ -0,0 +1,2 @@ +<catalog_method> +</catalog_method> \ No newline at end of file diff --git a/bt5/erp5_egov_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_create_birth_detail.xml b/bt5/erp5_egov_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_create_birth_detail.xml new file mode 100644 index 0000000000..485323f797 --- /dev/null +++ b/bt5/erp5_egov_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_create_birth_detail.xml @@ -0,0 +1,163 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="SQL" module="Products.ZSQLMethods.SQL"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list/> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>_col</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>connection_id</string> </key> + <value> <string>erp5_sql_connection</string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>z_create_birth_detail</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string>CREATE TABLE `birth_detail` (\n + `uid` BIGINT UNSIGNED NOT NULL,\n + `birthplace_city` VARCHAR(255) DEFAULT \'\',\n + `birth_date` datetime default NULL,\n + PRIMARY KEY (`uid`),\n + KEY `birthplace` (`birthplace_city`),\n + KEY `birth_date` (`birth_date`)\n +) TYPE=InnoDB\n +</string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="__newobj__" module="copy_reg"/> + </klass> + <tuple> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </tuple> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string>CREATE TABLE `birth_detail` (\n + `uid` BIGINT UNSIGNED NOT NULL,\n + `birthplace_city` VARCHAR(255) DEFAULT \'\',\n + `birth_date` datetime default NULL,\n + PRIMARY KEY (`uid`),\n + KEY `birthplace` (`birthplace_city`),\n + KEY `birth_date` (`birth_date`)\n +) TYPE=InnoDB\n +</string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_egov_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_create_egov.xml b/bt5/erp5_egov_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_create_egov.xml index c363898d69..9909a033e6 100644 --- a/bt5/erp5_egov_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_create_egov.xml +++ b/bt5/erp5_egov_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_create_egov.xml @@ -96,9 +96,7 @@ <key> <string>src</string> </key> <value> <string>CREATE TABLE `egov` (\n `uid` BIGINT UNSIGNED NOT NULL,\n -# `corporate_registration_code` VARCHAR(255) NOT NULL DEFAULT \'\',\n `corporate_registration_code` VARCHAR(255) DEFAULT \'\',\n -# `vat_code` VARCHAR(255) NOT NULL DEFAULT \'\',\n `vat_code` VARCHAR(255) DEFAULT \'\',\n PRIMARY KEY (`uid`),\n KEY `rccm` (`corporate_registration_code`),\n @@ -142,9 +140,7 @@ <key> <string>raw</string> </key> <value> <string>CREATE TABLE `egov` (\n `uid` BIGINT UNSIGNED NOT NULL,\n -# `corporate_registration_code` VARCHAR(255) NOT NULL DEFAULT \'\',\n `corporate_registration_code` VARCHAR(255) DEFAULT \'\',\n -# `vat_code` VARCHAR(255) NOT NULL DEFAULT \'\',\n `vat_code` VARCHAR(255) DEFAULT \'\',\n PRIMARY KEY (`uid`),\n KEY `rccm` (`corporate_registration_code`),\n diff --git a/bt5/erp5_egov_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_uncatalog_birth_detail.catalog_keys.xml b/bt5/erp5_egov_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_uncatalog_birth_detail.catalog_keys.xml new file mode 100644 index 0000000000..d58ef064ea --- /dev/null +++ b/bt5/erp5_egov_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_uncatalog_birth_detail.catalog_keys.xml @@ -0,0 +1,5 @@ +<catalog_method> + <item key="sql_uncatalog_object" type="int"> + <value>1</value> + </item> +</catalog_method> \ No newline at end of file diff --git a/bt5/erp5_egov_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_uncatalog_birth_detail.xml b/bt5/erp5_egov_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_uncatalog_birth_detail.xml new file mode 100644 index 0000000000..bba6523f7e --- /dev/null +++ b/bt5/erp5_egov_mysql_innodb_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/z_uncatalog_birth_detail.xml @@ -0,0 +1,160 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="SQL" module="Products.ZSQLMethods.SQL"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>__ac_local_roles__</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_arg</string> </key> + <value> + <object> + <klass> + <global name="Args" module="Shared.DC.ZRDB.Aqueduct"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_data</string> </key> + <value> + <dictionary> + <item> + <key> <string>uid</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>_keys</string> </key> + <value> + <list> +<string>uid</string> + </list> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>allow_simple_one_argument_traversal</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>arguments_src</string> </key> + <value> <string>uid</string> </value> + </item> + <item> + <key> <string>cache_time_</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>class_file_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>class_name_</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>connection_hook</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>connection_id</string> </key> + <value> <string>erp5_sql_connection</string> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>z_uncatalog_birth_detail</string> </value> + </item> + <item> + <key> <string>max_cache_</string> </key> + <value> <int>100</int> </value> + </item> + <item> + <key> <string>max_rows_</string> </key> + <value> <int>1000</int> </value> + </item> + <item> + <key> <string>src</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +DELETE FROM birth_detail WHERE <dtml-sqltest uid op=eq type=int>\n + + +]]></string> </value> + </item> + <item> + <key> <string>template</string> </key> + <value> + <object> + <klass> + <global name="__newobj__" module="copy_reg"/> + </klass> + <tuple> + <global name="SQL" module="Shared.DC.ZRDB.DA"/> + </tuple> + <state> + <dictionary> + <item> + <key> <string>__name__</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<string> + +]]></string> </value> + </item> + <item> + <key> <string>_vars</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>globals</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>raw</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +DELETE FROM birth_detail WHERE <dtml-sqltest uid op=eq type=int>\n + + +]]></string> </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_egov_mysql_innodb_catalog/CatalogResultTableTemplateItem/result_table_list.xml b/bt5/erp5_egov_mysql_innodb_catalog/CatalogResultTableTemplateItem/result_table_list.xml index 1940f4530b..e28def1950 100644 --- a/bt5/erp5_egov_mysql_innodb_catalog/CatalogResultTableTemplateItem/result_table_list.xml +++ b/bt5/erp5_egov_mysql_innodb_catalog/CatalogResultTableTemplateItem/result_table_list.xml @@ -1,3 +1,4 @@ <key_list> + <key>birth_detail</key> <key>egov</key> </key_list> \ No newline at end of file diff --git a/bt5/erp5_egov_mysql_innodb_catalog/bt/change_log b/bt5/erp5_egov_mysql_innodb_catalog/bt/change_log index e3ef0ae058..2bbe567204 100644 --- a/bt5/erp5_egov_mysql_innodb_catalog/bt/change_log +++ b/bt5/erp5_egov_mysql_innodb_catalog/bt/change_log @@ -1,2 +1,5 @@ +2008-07-01 fabien +* add birth_detail table to be able to catalog details relative to birth (place and date) + 2008-06-10 fabien * Initial Release \ No newline at end of file diff --git a/bt5/erp5_egov_mysql_innodb_catalog/bt/revision b/bt5/erp5_egov_mysql_innodb_catalog/bt/revision index 19c7bdba7b..8fdd954df9 100644 --- a/bt5/erp5_egov_mysql_innodb_catalog/bt/revision +++ b/bt5/erp5_egov_mysql_innodb_catalog/bt/revision @@ -1 +1 @@ -16 \ No newline at end of file +22 \ No newline at end of file diff --git a/bt5/erp5_egov_mysql_innodb_catalog/bt/template_catalog_method_id_list b/bt5/erp5_egov_mysql_innodb_catalog/bt/template_catalog_method_id_list index 32ffcadc0b..f95f0a549b 100644 --- a/bt5/erp5_egov_mysql_innodb_catalog/bt/template_catalog_method_id_list +++ b/bt5/erp5_egov_mysql_innodb_catalog/bt/template_catalog_method_id_list @@ -1,4 +1,8 @@ +erp5_mysql_innodb/z0_drop_birth_detail erp5_mysql_innodb/z0_drop_egov +erp5_mysql_innodb/z_catalog_birth_detail_list erp5_mysql_innodb/z_catalog_egov_list +erp5_mysql_innodb/z_create_birth_detail erp5_mysql_innodb/z_create_egov +erp5_mysql_innodb/z_uncatalog_birth_detail erp5_mysql_innodb/z_uncatalog_egov \ No newline at end of file diff --git a/bt5/erp5_egov_mysql_innodb_catalog/bt/template_catalog_result_table_list b/bt5/erp5_egov_mysql_innodb_catalog/bt/template_catalog_result_table_list index 3725884790..317c9188bd 100644 --- a/bt5/erp5_egov_mysql_innodb_catalog/bt/template_catalog_result_table_list +++ b/bt5/erp5_egov_mysql_innodb_catalog/bt/template_catalog_result_table_list @@ -1 +1,2 @@ -egov \ No newline at end of file +egov +birth_detail \ No newline at end of file -- 2.30.9