架构优化

This commit is contained in:
PC 2026-01-27 17:39:06 +08:00
parent d74ae44913
commit 90f9d387d5
2 changed files with 6 additions and 0 deletions

View File

@ -44,6 +44,9 @@ public class EbikeTenantFactory implements TenantFactory {
if (isSysAdmin) { if (isSysAdmin) {
return null; return null;
} else { } else {
if (tenantId==0){
return new Object[]{};
}
return new Object[]{tenantId}; return new Object[]{tenantId};
} }
} }

View File

@ -44,6 +44,9 @@ public class EbikeTenantFactory implements TenantFactory {
if (isSysAdmin) { if (isSysAdmin) {
return null; return null;
} else { } else {
if (tenantId==0){
return new Object[]{};
}
return new Object[]{tenantId}; return new Object[]{tenantId};
} }
} }