update ecm_order_goods, ecm_goods, ecm_order
set ecm_order_goods.eu_point=ecm_goods.eu_point, ecm_order_goods.au_point=ecm_goods.au_point
where ecm_order_goods.goods_id=ecm_goods.goods_id and ecm_order.order_id = ecm_order_goods.order_id and ecm_order.add_time < 1508256000;