|
|
@ -189,13 +189,13 @@ class BusinessAffairsAwardController extends ThinkController
|
|
|
|
$map['verify_status'] = ['like',"%{$_REQUEST['verify_status']}%"];
|
|
|
|
$map['verify_status'] = ['like',"%{$_REQUEST['verify_status']}%"];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$data = M("business_affairs_award_pool","tab_")
|
|
|
|
$query = M("business_affairs_award_pool","tab_")
|
|
|
|
->where($map);
|
|
|
|
->where($map);
|
|
|
|
|
|
|
|
|
|
|
|
if (!$_REQUEST['export']) {
|
|
|
|
if (!$_REQUEST['export']) {
|
|
|
|
$data->page($page, $row);
|
|
|
|
$query->page($page, $row);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
$data = $data->order("time desc")->select();
|
|
|
|
$data = $query->order("time desc")->select();
|
|
|
|
|
|
|
|
|
|
|
|
foreach ($data as $key => $value) {
|
|
|
|
foreach ($data as $key => $value) {
|
|
|
|
|
|
|
|
|
|
|
@ -246,6 +246,10 @@ class BusinessAffairsAwardController extends ThinkController
|
|
|
|
$count = M("business_affairs_award_pool","tab_")
|
|
|
|
$count = M("business_affairs_award_pool","tab_")
|
|
|
|
->where($map)
|
|
|
|
->where($map)
|
|
|
|
->count();
|
|
|
|
->count();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$gameBonusPool = M("business_affairs_award_pool","tab_")
|
|
|
|
|
|
|
|
->where($map)
|
|
|
|
|
|
|
|
->sum('game_bonus_pool');
|
|
|
|
|
|
|
|
|
|
|
|
if(IS_ROOT){
|
|
|
|
if(IS_ROOT){
|
|
|
|
$this->assign('verify_check',true);
|
|
|
|
$this->assign('verify_check',true);
|
|
|
@ -264,7 +268,7 @@ class BusinessAffairsAwardController extends ThinkController
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$this->assign("list",$data);
|
|
|
|
$this->assign("list",$data);
|
|
|
|
|
|
|
|
$this->assign("gameBonusPool", round(floatval($gameBonusPool), 2));
|
|
|
|
$this->display();
|
|
|
|
$this->display();
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|