34 lines
822 B
SQL
34 lines
822 B
SQL
## 1. 清空用户表
|
|
## 排除 admin,ry,591管理员
|
|
delete from sys_user where user_id not in(1,2,109);
|
|
|
|
## 2. 清空业务表
|
|
truncate table bus_customer;
|
|
truncate table bus_customer_address;
|
|
truncate table bus_customer_coupon;
|
|
truncate table bus_customer_star;
|
|
|
|
truncate table bus_mechanic;
|
|
truncate table bus_mechanic_info;
|
|
truncate table bus_join_mechanic;
|
|
truncate table bus_health_record;
|
|
|
|
truncate table bus_shop;
|
|
truncate table bus_shop_amount_logs;
|
|
truncate table bus_shop_in_logs;
|
|
truncate table bus_shop_withdraw;
|
|
truncate table bus_join_shop;
|
|
truncate table bus_item_assign;
|
|
truncate table bus_service_item;
|
|
|
|
truncate table bus_order;
|
|
truncate table bus_order_delete_bak;
|
|
truncate table bus_order_logs;
|
|
truncate table bus_vip_order;
|
|
truncate table bus_evaluation;
|
|
|
|
truncate table bus_qualification_apply;
|
|
|
|
|
|
|