@ -1798,7 +1798,9 @@ class QueryController extends BaseController
$map['ui.role_name'] = ['like', $roleName . '%'];
}
if ($userAccount != '') {
$map['ui.user_account'] = ['like', $userAccount . '%'];
$userId = M('user', 'tab_')->where(array('account' => ['like', $userAccount . '%']))->getField('id');
$userId = $userId ?? 0;
$map['uc.user_id'] = $userId;
if ($isSelf) {
$map['uc.promote_id'] = $queryPromote['id'];