select reply_id, record_id, company_id, company_user_id, content, images, videos, create_time,product_ids from doc_record_reply
and record_id = #{recordId}
and company_id = #{companyId}
and company_user_id = #{companyUserId}
and content = #{content}
and images = #{images}
and videos = #{videos}
where reply_id = #{replyId}
insert into doc_record_reply record_id, company_id, company_user_id, content, images, videos, create_time, product_ids, #{recordId}, #{companyId}, #{companyUserId}, #{content}, #{images}, #{videos}, #{createTime}, #{productIds},
update doc_record_reply record_id = #{recordId}, company_id = #{companyId}, company_user_id = #{companyUserId}, content = #{content}, images = #{images}, videos = #{videos}, create_time = #{createTime}, product_ids = #{productIds}, where reply_id = #{replyId}
delete from doc_record_reply where reply_id = #{replyId}
delete from doc_record_reply where reply_id in #{replyId}