|
@@ -90,6 +90,9 @@ public class SysMusicScoreCategoriesController extends BaseController {
|
|
|
}else if ("TENANT".equals(queryType)) {
|
|
|
SysUser user = sysUserService.getUser();
|
|
|
TenantConfig tenantConfig = tenantConfigService.getOne(new QueryWrapper<TenantConfig>().eq("tenant_id_", user.getTenantId()));
|
|
|
+ if(tenantConfig == null){
|
|
|
+ return succeed(cbsMusicScoreCategoriesService.queryTreeByAppId());
|
|
|
+ }
|
|
|
return succeed(cbsMusicScoreCategoriesService.queryCategoriesTreeList(tenantConfig.getTeachingMaterialId(),false));
|
|
|
}
|
|
|
SysUser user = sysUserService.getUser();
|