From 419793d91b517e814b0572b2716d24e2c68e4d07 Mon Sep 17 00:00:00 2001 From: chenzhi Date: Mon, 21 Dec 2020 18:10:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=B8=8A=E6=B8=B8=E7=BB=93?= =?UTF-8?q?=E7=AE=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Admin/Conf/config.php | 6 +++++- .../Controller/CompanyStatementSetController.class.php | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Application/Admin/Conf/config.php b/Application/Admin/Conf/config.php index f9d701ed4..21dfe2b40 100644 --- a/Application/Admin/Conf/config.php +++ b/Application/Admin/Conf/config.php @@ -119,6 +119,10 @@ return array( "tab_spend", "sys_auth_group", "tab_index_chart", - "tab_deposit" + "tab_deposit", + "tab_company_statement", + "tab_company_lack_statement_info", + "tab_company_statement_info", + "tab_company_statement_pool", ] ); \ No newline at end of file diff --git a/Application/Admin/Controller/CompanyStatementSetController.class.php b/Application/Admin/Controller/CompanyStatementSetController.class.php index ba46ce8ed..8203e4a1a 100644 --- a/Application/Admin/Controller/CompanyStatementSetController.class.php +++ b/Application/Admin/Controller/CompanyStatementSetController.class.php @@ -255,7 +255,7 @@ class CompanyStatementSetController extends Controller { // TODO:此处不判断现游戏名=原包名,但却不是同一款游戏 $verify_log=json_encode(["create_user"=>"system","create_time"=>date("Y-m-d H:i:s")]); $GameDb = M("Game","tab_"); - $StatementDb = M("CompanyStatement","tab_"); + $StatementDb = SM("CompanyStatement","tab_"); $statement_begin_time = date("Y.m.d",$begintime); $statement_end_time = date("Y.m.d",$endtime); @@ -451,7 +451,7 @@ class CompanyStatementSetController extends Controller { "payed_time"=>["BETWEEN",[$begintime,$endtime]], "game_id"=>["in",$gmstr] ]; - $paydb = M('spend','tab_'); + $paydb = SM('spend','tab_'); $paylist = $paydb->field("game_id,SUM(pay_amount) pay_amount")->where($paywhere)->group("game_id")->select(); if(empty($paylist)){ return [];