INSERT INTO f_single_equipment (category_id, name_zh, name_en, description_zh, description_en, technical_highlights_zh, technical_highlights_en, cover_image, function_description_zh, function_description_en, specifications_zh, specifications_en, product_advantages_zh, product_advantages_en, applicable_lines_zh, applicable_lines_en, application_cases_zh, application_cases_en, excerpt_zh, excerpt_en, content_zh, content_en, is_published, sort_order, create_by, remark) VALUES (#{categoryId}, #{nameZh}, #{nameEn}, #{descriptionZh}, #{descriptionEn}, #{technicalHighlightsZh}, #{technicalHighlightsEn}, #{coverImage}, #{functionDescriptionZh}, #{functionDescriptionEn}, #{specificationsZh}, #{specificationsEn}, #{productAdvantagesZh}, #{productAdvantagesEn}, #{applicableLinesZh}, #{applicableLinesEn}, #{applicationCasesZh}, #{applicationCasesEn}, #{excerptZh}, #{excerptEn}, #{contentZh}, #{contentEn}, #{isPublished}, #{sortOrder}, #{createBy}, #{remark}) UPDATE f_single_equipment category_id = #{categoryId}, name_zh = #{nameZh}, name_en = #{nameEn}, description_zh = #{descriptionZh}, description_en = #{descriptionEn}, technical_highlights_zh = #{technicalHighlightsZh}, technical_highlights_en = #{technicalHighlightsEn}, cover_image = #{coverImage}, function_description_zh = #{functionDescriptionZh}, function_description_en = #{functionDescriptionEn}, specifications_zh = #{specificationsZh}, specifications_en = #{specificationsEn}, product_advantages_zh = #{productAdvantagesZh}, product_advantages_en = #{productAdvantagesEn}, applicable_lines_zh = #{applicableLinesZh}, applicable_lines_en = #{applicableLinesEn}, application_cases_zh = #{applicationCasesZh}, application_cases_en = #{applicationCasesEn}, excerpt_zh = #{excerptZh}, excerpt_en = #{excerptEn}, content_zh = #{contentZh}, content_en = #{contentEn}, is_published = #{isPublished}, sort_order = #{sortOrder}, update_by = #{updateBy}, remark = #{remark}, WHERE single_equipment_id = #{singleEquipmentId} AND del_flag = 0 UPDATE f_single_equipment SET del_flag = 1 WHERE single_equipment_id = #{id}