适配多租户

This commit is contained in:
zhonghua1
2025-12-20 17:11:46 +08:00
parent db64ed63a5
commit 1c5a6eee8b
4 changed files with 18 additions and 3 deletions

View File

@@ -233,6 +233,7 @@ UPDATE `sales_management` SET `tenant_id` = 'DEFAULT_TENANT_ID' WHERE
-- 门店与项目类
UPDATE `dealership` SET `tenant_id` = 'DEFAULT_TENANT_ID' WHERE `tenant_id` IS NULL;
UPDATE `project_management` SET `tenant_id` = 'DEFAULT_TENANT_ID' WHERE `tenant_id` IS NULL;
UPDATE `device_management` SET `tenant_id` = 'DEFAULT_cst_20251216' WHERE `tenant_id` IS NULL;
-- 日志与其他
UPDATE `yhy_audio_upload_log` SET `tenant_id` = 'DEFAULT_TENANT_ID' WHERE `tenant_id` IS NULL;