|
|
@ -217,7 +217,7 @@ public class HwMonitorPlatformController extends BaseController {
|
|
|
|
LoginUser loginUser = SecurityUtils.getLoginUser();
|
|
|
|
LoginUser loginUser = SecurityUtils.getLoginUser();
|
|
|
|
SysUser sysUser = loginUser.getSysUser();
|
|
|
|
SysUser sysUser = loginUser.getSysUser();
|
|
|
|
Long tenantId = sysUser.getTenantId();
|
|
|
|
Long tenantId = sysUser.getTenantId();
|
|
|
|
List<HwScene> hwScenes = hwSceneService.selectHwSceneByTenantId(1l);
|
|
|
|
List<HwScene> hwScenes = hwSceneService.selectHwSceneByTenantId(tenantId);
|
|
|
|
if (hwScenes.size()!=0){
|
|
|
|
if (hwScenes.size()!=0){
|
|
|
|
hwScenes.get(0).setDefaultFlag("1");}
|
|
|
|
hwScenes.get(0).setDefaultFlag("1");}
|
|
|
|
return getDataTable(hwScenes);
|
|
|
|
return getDataTable(hwScenes);
|
|
|
|