This commit is contained in:
dute7liang
2023-12-19 22:25:27 +08:00
parent 5676aa7fde
commit 5b04a92a55
385 changed files with 31644 additions and 0 deletions

33
sql/refresh.sql Normal file
View File

@@ -0,0 +1,33 @@
## 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;