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