select delivery_id, enterprise_code, enterprise_name, customer_phone, customer_name, delivery_address, customer_name_two, detailed_description, plant_area, postal_code, customer_fax, first_add_time, update_info_time from sys_shipping_address insert into sys_shipping_address enterprise_code, enterprise_name, customer_phone, customer_name, delivery_address, customer_name_two, detailed_description, plant_area, postal_code, customer_fax, first_add_time, #{enterpriseCode}, #{enterpriseName}, #{customerPhone}, #{customerName}, #{deliveryAddress}, #{customerNameTwo}, #{detailedDescription}, #{plantArea}, #{postalCode}, #{customerFax}, now(), update sys_shipping_address enterprise_code = #{enterpriseCode}, enterprise_name = #{enterpriseName}, customer_phone = #{customerPhone}, customer_name = #{customerName}, delivery_address = #{deliveryAddress}, customer_name_two = #{customerNameTwo}, detailed_description = #{detailedDescription}, plant_area = #{plantArea}, postal_code = #{postalCode}, customer_fax = #{customerFax}, update_info_time = CONCAT_WS(',',NOW(),update_info_time), where delivery_id = #{deliveryId} delete from sys_shipping_address where delivery_id = #{deliveryId} delete from sys_shipping_address where delivery_id in #{deliveryId}