1.1.3 监控单元Controller修改

dev
zhouhy 1 year ago
parent bbfa19c0a8
commit 7a3fd5ee04

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

Loading…
Cancel
Save