推广平台>数据管理>充值玩家--更新

master
chenxiaojun 5 years ago
parent dae994d416
commit ad0b88553b

@ -1798,7 +1798,9 @@ class QueryController extends BaseController
$map['ui.role_name'] = ['like', $roleName . '%']; $map['ui.role_name'] = ['like', $roleName . '%'];
} }
if ($userAccount != '') { 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) { if ($isSelf) {
$map['uc.promote_id'] = $queryPromote['id']; $map['uc.promote_id'] = $queryPromote['id'];

Loading…
Cancel
Save