INSERT INTO f_product_line (category_id, name_zh, name_en, short_name, description_zh, description_en,
specifications_zh, specifications_en, capacity, applications_zh, applications_en,
achievements, cover_image,
applicable_materials_zh, applicable_materials_en,
thickness_range, width_range, running_speed,
equipment_composition_zh, equipment_composition_en,
technical_highlights_zh, technical_highlights_en,
application_cases_zh, application_cases_en,
excerpt_zh, excerpt_en, content_zh, content_en,
meta_title_zh, meta_title_en, meta_description_zh, meta_description_en,
meta_keywords, is_featured, is_published, sort_order, create_by, remark)
VALUES (#{categoryId}, #{nameZh}, #{nameEn}, #{shortName}, #{descriptionZh}, #{descriptionEn},
#{specificationsZh}, #{specificationsEn}, #{capacity}, #{applicationsZh}, #{applicationsEn},
#{achievements}, #{coverImage},
#{applicableMaterialsZh}, #{applicableMaterialsEn},
#{thicknessRange}, #{widthRange}, #{runningSpeed},
#{equipmentCompositionZh}, #{equipmentCompositionEn},
#{technicalHighlightsZh}, #{technicalHighlightsEn},
#{applicationCasesZh}, #{applicationCasesEn},
#{excerptZh}, #{excerptEn}, #{contentZh}, #{contentEn},
#{metaTitleZh}, #{metaTitleEn}, #{metaDescriptionZh}, #{metaDescriptionEn},
#{metaKeywords}, #{isFeatured}, #{isPublished}, #{sortOrder}, #{createBy}, #{remark})
UPDATE f_product_line
category_id = #{categoryId},
name_zh = #{nameZh},
name_en = #{nameEn},
short_name = #{shortName},
description_zh = #{descriptionZh},
description_en = #{descriptionEn},
specifications_zh = #{specificationsZh},
specifications_en = #{specificationsEn},
capacity = #{capacity},
applications_zh = #{applicationsZh},
applications_en = #{applicationsEn},
achievements = #{achievements},
cover_image = #{coverImage},
applicable_materials_zh = #{applicableMaterialsZh},
applicable_materials_en = #{applicableMaterialsEn},
thickness_range = #{thicknessRange},
width_range = #{widthRange},
running_speed = #{runningSpeed},
equipment_composition_zh = #{equipmentCompositionZh},
equipment_composition_en = #{equipmentCompositionEn},
technical_highlights_zh = #{technicalHighlightsZh},
technical_highlights_en = #{technicalHighlightsEn},
application_cases_zh = #{applicationCasesZh},
application_cases_en = #{applicationCasesEn},
excerpt_zh = #{excerptZh},
excerpt_en = #{excerptEn},
content_zh = #{contentZh},
content_en = #{contentEn},
is_featured = #{isFeatured},
is_published = #{isPublished},
sort_order = #{sortOrder},
update_by = #{updateBy},
remark = #{remark},
WHERE product_line_id = #{productLineId} AND del_flag = 0
UPDATE f_product_line SET del_flag = 1 WHERE product_line_id = #{id}