Showing
1 changed file
with
1 additions
and
1 deletions
... | ... | @@ -223,7 +223,7 @@ public class ThingsModelServiceImpl |
223 | 223 | List<TkThingsModelEntity> entityList = |
224 | 224 | baseMapper.selectList( |
225 | 225 | new LambdaQueryWrapper<TkThingsModelEntity>() |
226 | - .eq(TkThingsModelEntity::getTenantId, tenantId) | |
226 | + .in(TkThingsModelEntity::getTenantId, List.of(tenantId,TenantId.SYS_TENANT_ID.toString())) | |
227 | 227 | .eq(TkThingsModelEntity::getCategoryId, categoryId) |
228 | 228 | .eq(TkThingsModelEntity::getFunctionType, typeEnum)); |
229 | 229 | if (entityList.isEmpty()) { | ... | ... |