select replace(uuid(),'-','') AS ID INSERT INTO resi_topic_comment id, topic_id, comment_content, status, created_by, del_flag, revision, created_time, updated_by, updated_time #{id}, #{topicId}, #{commentContent}, #{status}, #{createdBy}, '0', '0', now(), 'APP_USER', now() UPDATE resi_topic_comment SET `status` = 'hidden', updated_by = #{operateUserId}, updated_time = NOW() WHERE del_flag = '0' AND created_by = #{userId} topic_id = #{topicId}