bug fix
This commit is contained in:
parent
a243427b4b
commit
36e15fe2e5
|
@ -108,7 +108,7 @@ public class MessageBuilderServiceImpl implements MessageInfoBuilderService {
|
||||||
if (messageInfo.getTimeZone() == null || messageInfo.getTimeZone().isBlank()) messageInfo.setTimeZone(this.localeService.timezoneName());
|
if (messageInfo.getTimeZone() == null || messageInfo.getTimeZone().isBlank()) messageInfo.setTimeZone(this.localeService.timezoneName());
|
||||||
|
|
||||||
if (this.scope.isMultitenant()) {
|
if (this.scope.isMultitenant()) {
|
||||||
if (this.scope.isDefaultTenant()) {
|
if (!this.scope.isDefaultTenant()) {
|
||||||
TenantEntity tenantInfo = this.queryFactory.query(TenantQuery.class)
|
TenantEntity tenantInfo = this.queryFactory.query(TenantQuery.class)
|
||||||
.isActive(IsActive.Active).firstAs(new BaseFieldSet(TenantEntity._id, TenantEntity._code));
|
.isActive(IsActive.Active).firstAs(new BaseFieldSet(TenantEntity._id, TenantEntity._code));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue