From 2e4067e1de7fa45818bac8ffef6a417336db2eaf Mon Sep 17 00:00:00 2001 From: chenzhi <“chenzhi063@qq.com> Date: Thu, 31 Oct 2019 20:05:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Admin/Controller/SpendCountSetController.class.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Application/Admin/Controller/SpendCountSetController.class.php b/Application/Admin/Controller/SpendCountSetController.class.php index 4ce2cc5ba..982a89758 100644 --- a/Application/Admin/Controller/SpendCountSetController.class.php +++ b/Application/Admin/Controller/SpendCountSetController.class.php @@ -555,8 +555,6 @@ class SpendCountSetController extends \Think\Controller $savedata = array("inside_cash_count"=>$inside_cash_count-0+$dbres['inside_cash_count'],"all_count"=>$inside_cash_count-0+$dbres['all_count']); $tempdbres = $this->usermodel->where($tempmap)->save($savedata); if($tempdbres === false){ - dump($dbres); - dump($savedata); $this->usermodel->rollback(); die("setInsideCount error"); } @@ -569,6 +567,11 @@ class SpendCountSetController extends \Think\Controller $initdata = $this->getMonthInit(); $balance = $this->getBalanceUser(); $bind = $this->getBindUser(); + dump($initdata["inside_cash_count"]); + echo "
"; + dump($balance); + echo "
"; + dump($bind); $initdata["inside_cash_count"] = $initdata["inside_cash_count"]-$balance-$bind; $initdata["all_count"] = $initdata["inside_cash_count"]-0+$initdata["balance_coin_count"]-0+$initdata["cash_count"]; $initdata["count_date"] = $this->date;