select cm_product_archive_content.id, cm_product_archive_content.productArchiveId, cm_product_archive_content.title, cm_product_archive_content.type, cm_product_archive_content.content, cm_product_archive_content.stageStatus, cm_product_archive_content.allStatus, cm_product_archive_content.labelIds, cm_product_archive_content.createBy, cm_product_archive_content.addTime insert into cm_product_archive_content id, productArchiveId, title, type, content, stageStatus, allStatus, labelIds, createBy, addTime, #{id}, #{productArchiveId}, #{title}, #{type}, #{content}, #{stageStatus}, #{allStatus}, #{labelIds}, #{createBy}, #{addTime}, update cm_product_archive_content productArchiveId = #{productArchiveId}, title = #{title}, type = #{type}, content = #{content}, stageStatus = #{stageStatus}, allStatus = #{allStatus}, labelIds = #{labelIds}, createBy = #{createBy}, addTime = #{addTime}, where id = #{id} delete from cm_product_archive_content where id = #{id} delete from cm_product_archive_content AS cm_product_archive_content and cm_product_archive_content.id = #{id} and cm_product_archive_content.productArchiveId = #{productArchiveId} and cm_product_archive_content.title = #{title} and cm_product_archive_content.type = #{type} and cm_product_archive_content.content = #{content} and cm_product_archive_content.stageStatus = #{stageStatus} and cm_product_archive_content.allStatus = #{allStatus} and cm_product_archive_content.labelIds = #{labelIds} and cm_product_archive_content.createBy = #{createBy} and cm_product_archive_content.addTime = #{addTime}