id, `type`, publish_uid, publish_time, expire_time, content, visible_type, visible_value, is_deleted, gmt_create, gmt_modified delete from family_moments where id = #{id,jdbcType=BIGINT} insert into family_moments (`type`, publish_uid, publish_time, expire_time, content, visible_type, visible_value, is_deleted, gmt_create, gmt_modified) values (#{type,jdbcType=INTEGER}, #{publishUid,jdbcType=BIGINT}, #{publishTime,jdbcType=TIMESTAMP}, #{expireTime,jdbcType=BIGINT}, #{content,jdbcType=LONGVARCHAR}, #{visibleType,jdbcType=INTEGER}, #{visibleValue,jdbcType=VARCHAR}, #{isDeleted,jdbcType=INTEGER}, #{gmtCreate,jdbcType=TIMESTAMP}, #{gmtModified,jdbcType=TIMESTAMP}) insert into family_moments `type`, publish_uid, publish_time, expire_time, content, visible_type, visible_value, is_deleted, gmt_create, gmt_modified, #{type,jdbcType=INTEGER}, #{publishUid,jdbcType=BIGINT}, #{publishTime,jdbcType=TIMESTAMP}, #{expireTime,jdbcType=BIGINT}, #{content,jdbcType=LONGVARCHAR}, #{visibleType,jdbcType=INTEGER}, #{visibleValue,jdbcType=VARCHAR}, #{isDeleted,jdbcType=INTEGER}, #{gmtCreate,jdbcType=TIMESTAMP}, #{gmtModified,jdbcType=TIMESTAMP}, update family_moments `type` = #{type,jdbcType=INTEGER}, publish_uid = #{publishUid,jdbcType=BIGINT}, publish_time = #{publishTime,jdbcType=TIMESTAMP}, expire_time = #{expireTime,jdbcType=BIGINT}, content = #{content,jdbcType=LONGVARCHAR}, visible_type = #{visibleType,jdbcType=INTEGER}, visible_value = #{visibleValue,jdbcType=VARCHAR}, is_deleted = #{isDeleted,jdbcType=INTEGER}, gmt_create = #{gmtCreate,jdbcType=TIMESTAMP}, gmt_modified = #{gmtModified,jdbcType=TIMESTAMP}, where id = #{id,jdbcType=BIGINT} update family_moments set `type` = #{type,jdbcType=INTEGER}, publish_uid = #{publishUid,jdbcType=BIGINT}, publish_time = #{publishTime,jdbcType=TIMESTAMP}, expire_time = #{expireTime,jdbcType=BIGINT}, content = #{content,jdbcType=LONGVARCHAR}, visible_type = #{visibleType,jdbcType=INTEGER}, visible_value = #{visibleValue,jdbcType=VARCHAR}, is_deleted = #{isDeleted,jdbcType=INTEGER}, gmt_create = #{gmtCreate,jdbcType=TIMESTAMP}, gmt_modified = #{gmtModified,jdbcType=TIMESTAMP} where id = #{id,jdbcType=BIGINT}