2022-10-24.sql 685 B

123456789101112131415161718
  1. update retail_order_item a join customer_wallet b on a.customer_wallet_id=b.customer_wallet_id
  2. set a.wallet_id1 = b.wallet_rebate_id;
  3. update retail_order_item a join customer_wallet b on a.customer_wallet_id2=b.customer_wallet_id
  4. set a.wallet_id2 = b.wallet_rebate_id;
  5. update engin_order_item a join customer_wallet b on a.customer_wallet_id=b.customer_wallet_id
  6. set a.wallet_id1 = b.wallet_rebate_id;
  7. update engin_order_item a join customer_wallet b on a.customer_wallet_id2=b.customer_wallet_id
  8. set a.wallet_id2 = b.wallet_rebate_id;
  9. #2023-05-22
  10. ALTER TABLE `policy_customer_limit`
  11. ADD COLUMN `specification` varchar(255) NULL COMMENT '规格型号' AFTER `material_name`;