超管后台 - 项目详情返工

This commit is contained in:
柳清爽
2025-04-22 14:04:17 +08:00
parent 3c7fd04a10
commit d275f303aa
5 changed files with 55 additions and 101 deletions

View File

@@ -42,7 +42,7 @@ class GetCompanyDetailForUpdateController extends BaseController
'c.id', 'c.name', 'c.status', 'c.memo', 'c.companyId',
'u.account', 'u.username', 'u.phone', 'u.s2_accountId'
])
->leftJoin('users u', 'c.companyId = u.companyId')
->leftJoin('users u', 'c.companyId = u.companyId and u.isAdmin = 1')
->find($id);
if (!$detail) {