insert into mall_freight( `name`, `template_type`, `pricing_manner`, `is_default`, `default_freight`) values( #{name}, #{templateType}, #{pricingManner}, #{isDefault}, #{defaultFreight}) update mall_freight `name` = #{name}, `template_type` = #{templateType}, `pricing_manner` = #{pricingManner}, `is_default` = #{isDefault} `default_freight` = #{defaultFreight} where id = #{id} delete from mall_freight where id = #{value} delete from mall_freight where id in #{id}