select zcac.id, zcac.article_id, zcac.zdy_user_id, zcac.parent_comment_id, zcac.content, zcac.status, zcac.del_flag, zcac.create_time, zcac.update_time, zcac.update_by, zu.avatar, zu.nickname from zdy_cms_article_comment zcac left join zdy_user zu on zcac.zdy_user_id = zu.id insert into zdy_cms_article_comment article_id, zdy_user_id, parent_comment_id, content, status, del_flag, create_time, update_time, update_by, #{articleId}, #{zdyUserId}, #{parentCommentId}, #{content}, #{status}, #{delFlag}, #{createTime}, #{updateTime}, #{updateBy}, update zdy_cms_article_comment article_id = #{articleId}, zdy_user_id = #{zdyUserId}, parent_comment_id = #{parentCommentId}, content = #{content}, status = #{status}, del_flag = #{delFlag}, create_time = #{createTime}, update_time = #{updateTime}, update_by = #{updateBy}, where id = #{id} update zdy_cms_article_comment set del_flag = '1' where id = #{id} update zdy_cms_article_comment set del_flag = '1' where id in #{id}