id, url_id, user_id, content, root_comment_id, like_count, comment_time, comment_status,
update_time, rating
delete from ln_comment
where id = #{id,jdbcType=INTEGER}
insert into ln_comment (url_id, user_id, content,
root_comment_id, like_count, comment_time,
comment_status, update_time, rating
)
values (#{urlId,jdbcType=INTEGER}, #{userId,jdbcType=INTEGER}, #{content,jdbcType=VARCHAR},
#{rootCommentId,jdbcType=INTEGER}, #{likeCount,jdbcType=BIGINT}, #{commentTime,jdbcType=TIMESTAMP},
#{commentStatus,jdbcType=TINYINT}, #{updateTime,jdbcType=TIMESTAMP}, #{rating,jdbcType=INTEGER}
)
insert into ln_comment
url_id,
user_id,
content,
root_comment_id,
like_count,
comment_time,
comment_status,
update_time,
rating,
#{urlId,jdbcType=INTEGER},
#{userId,jdbcType=INTEGER},
#{content,jdbcType=VARCHAR},
#{rootCommentId,jdbcType=INTEGER},
#{likeCount,jdbcType=BIGINT},
#{commentTime,jdbcType=TIMESTAMP},
#{commentStatus,jdbcType=TINYINT},
#{updateTime,jdbcType=TIMESTAMP},
#{rating,jdbcType=INTEGER},
update ln_comment
url_id = #{urlId,jdbcType=INTEGER},
user_id = #{userId,jdbcType=INTEGER},
content = #{content,jdbcType=VARCHAR},
root_comment_id = #{rootCommentId,jdbcType=INTEGER},
like_count = #{likeCount,jdbcType=BIGINT},
comment_time = #{commentTime,jdbcType=TIMESTAMP},
comment_status = #{commentStatus,jdbcType=TINYINT},
update_time = #{updateTime,jdbcType=TIMESTAMP},
rating = #{rating,jdbcType=INTEGER},
where id = #{id,jdbcType=INTEGER}
update ln_comment
set url_id = #{urlId,jdbcType=INTEGER},
user_id = #{userId,jdbcType=INTEGER},
content = #{content,jdbcType=VARCHAR},
root_comment_id = #{rootCommentId,jdbcType=INTEGER},
like_count = #{likeCount,jdbcType=BIGINT},
comment_time = #{commentTime,jdbcType=TIMESTAMP},
comment_status = #{commentStatus,jdbcType=TINYINT},
update_time = #{updateTime,jdbcType=TIMESTAMP},
rating = #{rating,jdbcType=INTEGER}
where id = #{id,jdbcType=INTEGER}