UPDATE t_invests INNER JOIN t_user_coupons ON t_invests.user_coupon_id = t_user_coupons.id SET t_invests.virtual_product_id = t_user_coupons.virtual_product_id WHERE t_user_coupons.virtual_product_id > 0;
时间: 2024-07-29 04:52:43
UPDATE t_invests INNER JOIN t_user_coupons ON t_invests.user_coupon_id = t_user_coupons.id SET t_invests.virtual_product_id = t_user_coupons.virtual_product_id WHERE t_user_coupons.virtual_product_id > 0;