From 895b32cee83150ec4fcd40ed45e16ac9e2f159ff Mon Sep 17 00:00:00 2001 From: zhengyongxing Date: Mon, 21 Sep 2020 17:43:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B1=87=E6=80=BBbug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Controller/AggregateFinanceStatementController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/Admin/Controller/AggregateFinanceStatementController.class.php b/Application/Admin/Controller/AggregateFinanceStatementController.class.php index 33ab1304b..2abdd79cb 100644 --- a/Application/Admin/Controller/AggregateFinanceStatementController.class.php +++ b/Application/Admin/Controller/AggregateFinanceStatementController.class.php @@ -984,7 +984,7 @@ class AggregateFinanceStatementController extends ThinkController } //整合数据 - $lsres = $LackStatement->where("company_id={$company_info['id']} and is_pool = 0")->select(); + $lsres = $LackStatement->where("company_name='{$company_info['partner']}' and is_pool = 0")->select(); $del_lack_ids = []; if(count($lsres) > 0){ //进行聚合