select delivery_goods_notice_id, notice_order_number, delivery_date, enterprise_code, enterprise_name, customer_contact, customer_factory, delivery_address, export_sales, stock_number, stock_name, remarks, voucher_preparation, delivery_goods_flag, first_add_time, update_info_time, standby_one, standby_two from delivery_goods_notice insert into delivery_goods_notice notice_order_number, delivery_date, enterprise_code, enterprise_name, customer_contact, customer_factory, delivery_address, export_sales, stock_number, stock_name, remarks, voucher_preparation, delivery_goods_flag, standby_one, standby_two, first_add_time, #{noticeOrderNumber}, #{deliveryDate}, #{enterpriseCode}, #{enterpriseName}, #{customerContact}, #{customerFactory}, #{deliveryAddress}, #{exportSales}, #{stockNumber}, #{stockName}, #{remarks}, #{voucherPreparation}, #{deliveryGoodsFlag}, #{standbyOne}, #{standbyTwo}, NOW(), update delivery_goods_notice notice_order_number = #{noticeOrderNumber}, delivery_date = #{deliveryDate}, enterprise_code = #{enterpriseCode}, enterprise_name = #{enterpriseName}, customer_contact = #{customerContact}, customer_factory = #{customerFactory}, delivery_address = #{deliveryAddress}, export_sales = #{exportSales}, stock_number = #{stockNumber}, stock_name = #{stockName}, remarks = #{remarks}, voucher_preparation = #{voucherPreparation}, delivery_goods_flag = #{deliveryGoodsFlag}, standby_one = #{standbyOne}, standby_two = #{standbyTwo}, update_info_time = CONCAT_WS(',',NOW(),update_info_time), where delivery_goods_notice_id = #{deliveryGoodsNoticeId} delete from delivery_goods_notice where delivery_goods_notice_id = #{deliveryGoodsNoticeId} delete from delivery_goods_notice where delivery_goods_notice_id in #{deliveryGoodsNoticeId}