表名同步

This commit is contained in:
wong
2025-04-12 18:31:53 +08:00
parent 192701e41e
commit 8d96110767
12 changed files with 174 additions and 128 deletions

View File

@@ -133,7 +133,7 @@ class Device extends Controller
$order = Request::param('order', 'desc');
// 添加公司ID过滤条件
$where['d.companyId'] = $userInfo['companyId'];
$where['d.tenantId'] = $userInfo['companyId'];
// 根据用户管理员状态调整查询条件
if ($userInfo['isAdmin'] == 1) {