|
|
@ -893,7 +893,11 @@ class FinanceController extends ThinkController
|
|
|
|
|
|
|
|
|
|
|
|
$this->checkListOrCountAuthRestMap($map,[]);
|
|
|
|
$this->checkListOrCountAuthRestMap($map,[]);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (count($exceptIds) > 0) {
|
|
|
|
$testWhere['_string'] .= ' and game_id in(' . implode(',', $exceptIds) . ')';
|
|
|
|
$testWhere['_string'] .= ' and game_id in(' . implode(',', $exceptIds) . ')';
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
$testWhere['_string'] .= ' and 1=0';
|
|
|
|
|
|
|
|
}
|
|
|
|
$testAllAmount = M('test_order', 'tab_')->where($testWhere)->sum('pay_amount');
|
|
|
|
$testAllAmount = M('test_order', 'tab_')->where($testWhere)->sum('pay_amount');
|
|
|
|
|
|
|
|
|
|
|
|
//统计合计
|
|
|
|
//统计合计
|
|
|
|