Files
ruoyi-vue-pro/yudao-module-system
MentatBot 6cbcf13447 Fix: Skip execution of scheduled tasks for disabled tenants
This update addresses the issue where scheduled tasks were being executed for disabled tenants. The `TenantJobAspect` class has been modified to check the status of each tenant before executing the task. If a tenant is disabled, the task will be skipped for that tenant.

Changes:
- Added a check in `TenantJobAspect` to verify tenant status before task execution.
- Introduced a new test `testTenantJobAspect_skipDisabledTenants` in `TenantServiceImplTest` to ensure the aspect correctly skips disabled tenants.
2024-08-16 07:24:48 +00:00
..
2022-04-22 00:07:54 +08:00