insert into
tbl_information
(content,type,createBy,createDate,attachment)
values
(#{content},#{type},#{createBy},now(),#{attachment})
update tbl_information
content = #{content,jdbcType=VARCHAR},
type = #{type,jdbcType=VARCHAR},
updateBy = #{updateBy,jdbcType=VARCHAR},
updateDate = now(),
attachment = #{attachment,jdbcType=VARCHAR},
where id = #{id,jdbcType=INTEGER}
delete from tbl_information where id = #{id}