|
|
@ -412,6 +412,11 @@ class CompanyStatementPoolController extends ThinkController
|
|
|
|
$v['statement_info'] = $handle_data;
|
|
|
|
$v['statement_info'] = $handle_data;
|
|
|
|
|
|
|
|
|
|
|
|
$v['row'] = $row;
|
|
|
|
$v['row'] = $row;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if ($v['row'] == '0') {
|
|
|
|
|
|
|
|
$v['row'] = 1;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if($is_export){
|
|
|
|
if($is_export){
|
|
|
|
if($v['withdraw_type'] != 3) {
|
|
|
|
if($v['withdraw_type'] != 3) {
|
|
|
|
$v['statement_money'] .="P{$cline}-Q{$cline},2)";
|
|
|
|
$v['statement_money'] .="P{$cline}-Q{$cline},2)";
|
|
|
@ -457,7 +462,17 @@ class CompanyStatementPoolController extends ThinkController
|
|
|
|
foreach ($gv as $sk => $sv) {
|
|
|
|
foreach ($gv as $sk => $sv) {
|
|
|
|
$game_data['account'] = $sk;
|
|
|
|
$game_data['account'] = $sk;
|
|
|
|
$game_data['row'] = count($sv);
|
|
|
|
$game_data['row'] = count($sv);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if ($game_data['row'] == '0') {
|
|
|
|
|
|
|
|
$game_data['row'] = 1;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$game_data['time_row'] = count($sv);
|
|
|
|
$game_data['time_row'] = count($sv);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if ($game_data['time_row'] == '0') {
|
|
|
|
|
|
|
|
$game_data['time_row'] = 1;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$game_data['time'] = $gk;
|
|
|
|
$game_data['time'] = $gk;
|
|
|
|
//周结算金额计算
|
|
|
|
//周结算金额计算
|
|
|
|
for ($i=0;;$i++) {
|
|
|
|
for ($i=0;;$i++) {
|
|
|
@ -685,6 +700,9 @@ class CompanyStatementPoolController extends ThinkController
|
|
|
|
$count['statement_money'] += $v['statement_money'];
|
|
|
|
$count['statement_money'] += $v['statement_money'];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
$v['statement_count'] = count($v['statement_info']);
|
|
|
|
$v['statement_count'] = count($v['statement_info']);
|
|
|
|
|
|
|
|
if($v['statement_count'] == '0'){
|
|
|
|
|
|
|
|
$v['statement_count'] = 1;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if($is_export){
|
|
|
|
if($is_export){
|
|
|
@ -758,6 +776,7 @@ class CompanyStatementPoolController extends ThinkController
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return $handle_data;
|
|
|
|
return $handle_data;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|