diff --git a/src/main/java/neatlogic/module/report/dao/mapper/ReportInstanceMapper.xml b/src/main/java/neatlogic/module/report/dao/mapper/ReportInstanceMapper.xml index 124f243a77baa041128830874c34b79182b72c0e..0f7d0bbc74cb8422a02cd2aa03205a57a841de44 100644 --- a/src/main/java/neatlogic/module/report/dao/mapper/ReportInstanceMapper.xml +++ b/src/main/java/neatlogic/module/report/dao/mapper/ReportInstanceMapper.xml @@ -133,7 +133,7 @@ `report_id` = #{reportId}, `name` = #{name}, `is_active` = #{isActive}, - `config` = #{configStr}, + `config` = #{configStr, typeHandler=CompressHandler}, `lcu` = #{lcu}, `lcd` = NOW(3) WHERE `id` = #{id} @@ -185,7 +185,7 @@ #{name}, 0, #{isActive}, - #{configStr}, + #{configStr, typeHandler=CompressHandler}, #{fcu}, NOW(3), #{fcu}, diff --git a/src/main/java/neatlogic/module/report/dao/mapper/ReportMapper.xml b/src/main/java/neatlogic/module/report/dao/mapper/ReportMapper.xml index d561345461e9dca22d7b13a995bf521d5fbf6ac6..c2ff7bdcf79bcd27a35b998df358170688128e35 100644 --- a/src/main/java/neatlogic/module/report/dao/mapper/ReportMapper.xml +++ b/src/main/java/neatlogic/module/report/dao/mapper/ReportMapper.xml @@ -205,9 +205,9 @@ along with this program. If not, see .--> `report` SET `name` = #{name}, `type` = #{type}, - `sql` = #{sql}, - `condition` = #{condition}, - `content` = #{content}, + `sql` = #{sql, typeHandler=CompressHandler}, + `condition` = #{condition, typeHandler=CompressHandler}, + `content` = #{content, typeHandler=CompressHandler}, `is_active` = #{isActive}, `lcu` = #{lcu}, `lcd` = NOW(3) @@ -240,7 +240,7 @@ along with this program. If not, see .--> #{name}, #{type}, #{label}, - #{configStr}, + #{configStr, typeHandler=CompressHandler}, #{sort}, #{width}) @@ -260,9 +260,9 @@ along with this program. If not, see .--> VALUES (#{id}, #{name}, #{type}, - #{sql}, - #{condition}, - #{content}, + #{sql, typeHandler=CompressHandler}, + #{condition, typeHandler=CompressHandler}, + #{content, typeHandler=CompressHandler}, #{isActive}, #{fcu}, NOW(3), @@ -292,7 +292,7 @@ along with this program. If not, see .--> #{item.name}, #{item.type}, #{item.label}, - #{item.configStr}, + #{item.configStr, typeHandler=CompressHandler}, #{item.sort}, #{item.width} ) diff --git a/src/main/java/neatlogic/module/report/dao/mapper/ReportSendJobMapper.xml b/src/main/java/neatlogic/module/report/dao/mapper/ReportSendJobMapper.xml index dfeee316f6456121acdac929bc38346532494065..17861bcffcab9833f5b39e3365c81f2b513e9fc5 100755 --- a/src/main/java/neatlogic/module/report/dao/mapper/ReportSendJobMapper.xml +++ b/src/main/java/neatlogic/module/report/dao/mapper/ReportSendJobMapper.xml @@ -246,7 +246,7 @@ along with this program. If not, see .--> UPDATE `report_send_job` SET `name` = #{name}, `email_title` = #{emailTitle}, - `email_content` = #{emailContent}, + `email_content` = #{emailContent, typeHandler=CompressHandler}, `cron` = #{cron}, `is_active` = #{isActive}, `lcu` = #{lcu}, @@ -277,7 +277,7 @@ along with this program. If not, see .--> VALUES (#{id}, #{name}, #{emailTitle}, - #{emailContent}, + #{emailContent, typeHandler=CompressHandler}, #{cron}, #{isActive}, now(3), @@ -315,8 +315,8 @@ along with this program. If not, see .--> ( #{item.reportSendJobId}, #{item.reportId}, - #{item.condition}, - #{item.config}, + #{item.condition, typeHandler=CompressHandler}, + #{item.config, typeHandler=CompressHandler}, #{item.sort} )