|
|
@ -407,7 +407,9 @@ class PaymentMerchantController extends ThinkController
|
|
|
|
$conditions['_string'].=" AND ( r.company_belong = {$companyBelong} or company_id in ({$promoteCompanyIds}) )";
|
|
|
|
$conditions['_string'].=" AND ( r.company_belong = {$companyBelong} or company_id in ({$promoteCompanyIds}) )";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if ($companyId != 0) {
|
|
|
|
if ($companyId != 0) {
|
|
|
|
$conditions['company_id'] = $companyId;
|
|
|
|
//请求公司要姜蓉内外团
|
|
|
|
|
|
|
|
$companyBelong = M("promote_company","tab_")->where("id = '{$companyId}'")->getField("company_belong");
|
|
|
|
|
|
|
|
$conditions['_string'] .= " AND ( r.company_belong = {$companyBelong} or company_id ='{$companyId}' )";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if ($gameTypeId != 0) {
|
|
|
|
if ($gameTypeId != 0) {
|
|
|
|
$conditions['game_type_id'] = $gameTypeId;
|
|
|
|
$conditions['game_type_id'] = $gameTypeId;
|
|
|
|