架构优化
This commit is contained in:
parent
d74ae44913
commit
90f9d387d5
@ -44,6 +44,9 @@ public class EbikeTenantFactory implements TenantFactory {
|
||||
if (isSysAdmin) {
|
||||
return null;
|
||||
} else {
|
||||
if (tenantId==0){
|
||||
return new Object[]{};
|
||||
}
|
||||
return new Object[]{tenantId};
|
||||
}
|
||||
}
|
||||
|
||||
@ -44,6 +44,9 @@ public class EbikeTenantFactory implements TenantFactory {
|
||||
if (isSysAdmin) {
|
||||
return null;
|
||||
} else {
|
||||
if (tenantId==0){
|
||||
return new Object[]{};
|
||||
}
|
||||
return new Object[]{tenantId};
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user