insert into `m_template`(`id`,`subject`,`text`) values (#{id,jdbcType=VARCHAR},#{subject,jdbcType=VARCHAR},#{text,jdbcType=VARCHAR}) update `m_template` set `subject`=#{subject,jdbcType=VARCHAR},`text`=#{text,jdbcType=VARCHAR} where `id`=#{id,jdbcType=VARCHAR} delete from `m_template` where `id`=#{id} `id`,`subject`,`text`