diff --git a/src/main/java/neatlogic/framework/dao/mapper/HomePageMapper.xml b/src/main/java/neatlogic/framework/dao/mapper/HomePageMapper.xml index 374adc41d59887310fb7ca3f376d550d16dbe9de..212e4e99423d13b6cff8885eb5ea3a53e24efcc9 100644 --- a/src/main/java/neatlogic/framework/dao/mapper/HomePageMapper.xml +++ b/src/main/java/neatlogic/framework/dao/mapper/HomePageMapper.xml @@ -118,9 +118,9 @@ INSERT INTO `home_page` (`id`, `name`, `is_active`, `sort`, `config`) - VALUES (#{id}, #{name}, #{isActive}, #{sort}, #{configStr}) + VALUES (#{id}, #{name}, #{isActive}, #{sort}, #{configStr, typeHandler=CompressHandler}) ON DUPLICATE KEY - UPDATE `config` = #{configStr}, + UPDATE `config` = #{configStr, typeHandler=CompressHandler}, `name` = #{name}, `is_active` = #{isActive} @@ -161,4 +161,4 @@ DELETE FROM `home_page_authority` WHERE `home_page_id` = #{value} - \ No newline at end of file + diff --git a/src/main/java/neatlogic/framework/dao/mapper/UserMapper.xml b/src/main/java/neatlogic/framework/dao/mapper/UserMapper.xml index aa3a36a0875fcc4d790fc75859c0dac9d64a66fc..c921d64289b26b7cbf0ec7ede23ac11b69bb070d 100644 --- a/src/main/java/neatlogic/framework/dao/mapper/UserMapper.xml +++ b/src/main/java/neatlogic/framework/dao/mapper/UserMapper.xml @@ -1419,12 +1419,12 @@ along with this program. If not, see .--> INSERT INTO `user_profile` (`user_uuid`, `module_id`, `config`) - VALUES (#{userUuid}, #{moduleId}, #{config}) + VALUES (#{userUuid}, #{moduleId}, #{config, typeHandler=CompressHandler}) INSERT INTO `user_data` (`user_uuid`, `data`, `type`) - VALUES (#{userUuid}, #{dataStr}, #{type}) + VALUES (#{userUuid}, #{dataStr, typeHandler=CompressHandler}, #{type}) UPDATE `user_profile` - set `config` = #{config} + set `config` = #{config, typeHandler=CompressHandler} where `user_uuid` = #{userUuid} and `module_id` = #{moduleId} @@ -1599,7 +1599,7 @@ along with this program. If not, see .--> UPDATE `user_data` - SET `data` = #{dataStr} + SET `data` = #{dataStr, typeHandler=CompressHandler} WHERE `user_uuid` = #{userUuid} and `type` = #{type} diff --git a/src/main/java/neatlogic/framework/form/dao/mapper/FormMapper.xml b/src/main/java/neatlogic/framework/form/dao/mapper/FormMapper.xml index ea727bd060e5112f4aa396168c1d819d2f56f725..230feb1ca650e781ef10459fb6428c8b8196b189 100644 --- a/src/main/java/neatlogic/framework/form/dao/mapper/FormMapper.xml +++ b/src/main/java/neatlogic/framework/form/dao/mapper/FormMapper.xml @@ -445,7 +445,7 @@ along with this program. If not, see .--> `is_active` = #{isActive}, - `form_config` = #{formConfigStr}, + `form_config` = #{formConfigStr, typeHandler=CompressHandler}, `lcd` = NOW(3), `lcu` = #{lcu} @@ -454,7 +454,7 @@ along with this program. If not, see .--> UPDATE `form_version` - SET `form_config` = #{formConfigStr} + SET `form_config` = #{formConfigStr, typeHandler=CompressHandler} WHERE `uuid` = #{uuid} @@ -482,11 +482,11 @@ along with this program. If not, see .--> label = #{label}, icon=#{icon}, is_active =#{isActive}, - config = #{configStr}, - config_template_config = #{configTemplateConfig}, - config_template = #{configTemplate}, - view_template = #{viewTemplate}, - view_template_config = #{viewTemplateConfig} + config = #{configStr, typeHandler=CompressHandler}, + config_template_config = #{configTemplateConfig, typeHandler=CompressHandler}, + config_template = #{configTemplate, typeHandler=CompressHandler}, + view_template = #{viewTemplate, typeHandler=CompressHandler}, + view_template_config = #{viewTemplateConfig, typeHandler=CompressHandler} WHERE id = #{id} @@ -506,11 +506,11 @@ along with this program. If not, see .--> #{label}, #{icon}, #{isActive}, - #{configStr}, - #{configTemplateConfig}, - #{configTemplate}, - #{viewTemplate}, - #{viewTemplateConfig}) + #{configStr, typeHandler=CompressHandler}, + #{configTemplateConfig, typeHandler=CompressHandler}, + #{configTemplate, typeHandler=CompressHandler}, + #{viewTemplate, typeHandler=CompressHandler}, + #{viewTemplateConfig, typeHandler=CompressHandler}) @@ -538,7 +538,7 @@ along with this program. If not, see .--> #{version}, #{isActive}, #{formUuid}, - #{formConfigStr}, + #{formConfigStr, typeHandler=CompressHandler}, NOW(3), #{fcu}, NOW(3), @@ -562,8 +562,8 @@ along with this program. If not, see .--> #{label}, #{type}, #{handler}, - #{configStr}, - #{data}) + #{configStr, typeHandler=CompressHandler}, + #{data, typeHandler=CompressHandler}) @@ -586,7 +586,7 @@ along with this program. If not, see .--> #{label}, #{type}, #{handler}, - #{configStr}) + #{configStr, typeHandler=CompressHandler}) diff --git a/src/main/java/neatlogic/framework/integration/dao/mapper/IntegrationMapper.xml b/src/main/java/neatlogic/framework/integration/dao/mapper/IntegrationMapper.xml index 91601c45722987b90b7c94362125c50085393434..707cf870aa50bb2782fa2ac372cacc998fd78ef1 100644 --- a/src/main/java/neatlogic/framework/integration/dao/mapper/IntegrationMapper.xml +++ b/src/main/java/neatlogic/framework/integration/dao/mapper/IntegrationMapper.xml @@ -341,7 +341,7 @@ along with this program. If not, see .--> `url` = #{url}, `handler` = #{handler}, `method` = #{method}, - `config` = #{configStr}, + `config` = #{configStr, typeHandler=CompressHandler}, `lcd` = NOW(3), `lcu` = #{lcu} WHERE `uuid` = #{uuid} @@ -364,7 +364,7 @@ along with this program. If not, see .--> #{url}, #{handler}, #{method}, - #{configStr}, + #{configStr, typeHandler=CompressHandler}, #{isActive}, NOW(3), #{fcu}, @@ -400,7 +400,7 @@ along with this program. If not, see .--> #{paramFilePath}, #{resultFilePath}, #{errorFilePath}, - #{headersStr}) + #{headersStr, typeHandler=CompressHandler}) diff --git a/src/main/java/neatlogic/framework/matrix/dao/mapper/MatrixAttributeMapper.xml b/src/main/java/neatlogic/framework/matrix/dao/mapper/MatrixAttributeMapper.xml index 73a27280cee8bc0e9339da8eb516f23b7125c341..8597421674ffd294f1de461c64a5bcacc4cc49b5 100644 --- a/src/main/java/neatlogic/framework/matrix/dao/mapper/MatrixAttributeMapper.xml +++ b/src/main/java/neatlogic/framework/matrix/dao/mapper/MatrixAttributeMapper.xml @@ -38,7 +38,7 @@ #{type}, #{isRequired}, #{sort}, - #{configStr}) + #{configStr, typeHandler=CompressHandler}) diff --git a/src/main/java/neatlogic/framework/matrix/dao/mapper/MatrixMapper.xml b/src/main/java/neatlogic/framework/matrix/dao/mapper/MatrixMapper.xml index 6187765a85c96529967e43381daca2606140c91d..4aa2881c493f10ec643fbc301e89e3e5fb11ed7e 100644 --- a/src/main/java/neatlogic/framework/matrix/dao/mapper/MatrixMapper.xml +++ b/src/main/java/neatlogic/framework/matrix/dao/mapper/MatrixMapper.xml @@ -208,12 +208,12 @@ ) VALUES ( #{matrixUuid}, #{fileName}, - #{config}, - #{xml} + #{config, typeHandler=CompressHandler}, + #{xml, typeHandler=CompressHandler} ) ON DUPLICATE KEY UPDATE `file_name` = #{fileName}, - `config` = #{config}, - `xml` = #{xml} + `config` = #{config, typeHandler=CompressHandler}, + `xml` = #{xml, typeHandler=CompressHandler} @@ -224,7 +224,7 @@ ) VALUES ( #{matrixUuid}, #{ciId}, - #{configStr} + #{configStr, typeHandler=CompressHandler} ) @@ -236,7 +236,7 @@ ) VALUES ( #{matrixUuid}, #{customViewId}, - #{configStr} + #{configStr, typeHandler=CompressHandler} ) diff --git a/src/main/java/neatlogic/framework/mq/dao/mapper/MqTopicMapper.xml b/src/main/java/neatlogic/framework/mq/dao/mapper/MqTopicMapper.xml index 556284c1bb0a347bcef6d94bda87013677b503c4..1d087fad52adfa572ce238ac466250c9d253b0be 100644 --- a/src/main/java/neatlogic/framework/mq/dao/mapper/MqTopicMapper.xml +++ b/src/main/java/neatlogic/framework/mq/dao/mapper/MqTopicMapper.xml @@ -46,8 +46,8 @@ along with this program. If not, see .--> INSERT INTO mq_topic (name, label, config, is_active, handler) - VALUES (#{name}, #{label}, #{configStr}, 1, #{handler}) - ON DUPLICATE KEY UPDATE config = #{configStr} + VALUES (#{name}, #{label}, #{configStr, typeHandler=CompressHandler}, 1, #{handler}) + ON DUPLICATE KEY UPDATE config = #{configStr, typeHandler=CompressHandler} diff --git a/src/main/java/neatlogic/framework/notify/dao/mapper/NotifyJobMapper.xml b/src/main/java/neatlogic/framework/notify/dao/mapper/NotifyJobMapper.xml index 51b6f3c37eb0b1c9ea50598f1c6d48274546dc0a..c0064b19f3ac2169ae90312257de680cc2d41da1 100644 --- a/src/main/java/neatlogic/framework/notify/dao/mapper/NotifyJobMapper.xml +++ b/src/main/java/neatlogic/framework/notify/dao/mapper/NotifyJobMapper.xml @@ -138,7 +138,7 @@ #{name}, #{handler}, #{notifyHandler}, - #{configStr}, + #{configStr, typeHandler=CompressHandler}, #{cron}, #{isActive}, now(3), @@ -172,7 +172,7 @@ `name` = #{name}, `handler` = #{handler}, `notify_handler` = #{notifyHandler}, - `config` = #{configStr}, + `config` = #{configStr, typeHandler=CompressHandler}, `cron` = #{cron}, `is_active` = #{isActive}, `lcu` = #{lcu}, diff --git a/src/main/java/neatlogic/framework/notify/dao/mapper/NotifyMapper.xml b/src/main/java/neatlogic/framework/notify/dao/mapper/NotifyMapper.xml index dc7bdfced2d9e337848c3bc9a0969fe0aa020394..6fae466d0733ac51ab01ecdfb948895a81329323 100644 --- a/src/main/java/neatlogic/framework/notify/dao/mapper/NotifyMapper.xml +++ b/src/main/java/neatlogic/framework/notify/dao/mapper/NotifyMapper.xml @@ -167,13 +167,13 @@ INSERT INTO `notify_policy` (`id`, `name`, `handler`, `is_default`, `config`, `fcu`, `fcd`, `lcu`, `lcd`) - VALUES (#{id}, #{name}, #{handler}, #{isDefault}, #{configStr}, #{fcu}, NOW(3), #{fcu}, NOW(3)) + VALUES (#{id}, #{name}, #{handler}, #{isDefault}, #{configStr, typeHandler=CompressHandler}, #{fcu}, NOW(3), #{fcu}, NOW(3)) UPDATE `notify_policy` SET `name` = #{name}, - `config` = #{configStr}, + `config` = #{configStr, typeHandler=CompressHandler}, `lcu` = #{lcu}, `lcd` = NOW(3) WHERE `id` = #{id} diff --git a/src/main/java/neatlogic/framework/worktime/dao/mapper/WorktimeMapper.xml b/src/main/java/neatlogic/framework/worktime/dao/mapper/WorktimeMapper.xml index 24f2303456fe0175d3495d02ad39f4f5fdea611d..82d272970b50fb782109f5d7a73e160de2652a96 100644 --- a/src/main/java/neatlogic/framework/worktime/dao/mapper/WorktimeMapper.xml +++ b/src/main/java/neatlogic/framework/worktime/dao/mapper/WorktimeMapper.xml @@ -225,7 +225,7 @@ along with this program. If not, see .--> INSERT INTO `worktime` ( `uuid`, `name`, `is_active`, `lcu`, `lcd`, `config`, `is_delete` ) - VALUES ( #{uuid}, #{name}, #{isActive}, #{lcu}, now(3), #{config}, 0) + VALUES ( #{uuid}, #{name}, #{isActive}, #{lcu}, now(3), #{config, typeHandler=CompressHandler}, 0) @@ -244,7 +244,7 @@ along with this program. If not, see .--> `name` = #{name}, `is_active` = #{isActive}, `lcu` = #{lcu}, - `config` = #{config}, + `config` = #{config, typeHandler=CompressHandler}, `lcd` = now(3) WHERE `uuid` = #{uuid}