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