From 0c2326c9b5aa4a773f289f168c53675e08eea749 Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Mon, 8 Jul 2024 10:57:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0:=20=E9=87=8D=E6=9E=84?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E5=B9=B6=E4=BC=98=E5=8C=96=E8=B4=A2=E5=8A=A1?= =?UTF-8?q?=E7=BB=9F=E8=AE=A1=E9=80=BB=E8=BE=91=E4=B8=AD=E7=9A=84=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../logic/cost_project/CostProjectStatisticsLogic.php | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/app/adminapi/logic/cost_project/CostProjectStatisticsLogic.php b/app/adminapi/logic/cost_project/CostProjectStatisticsLogic.php index 46dbe2357..867196a78 100644 --- a/app/adminapi/logic/cost_project/CostProjectStatisticsLogic.php +++ b/app/adminapi/logic/cost_project/CostProjectStatisticsLogic.php @@ -41,9 +41,14 @@ class CostProjectStatisticsLogic extends BaseLogic $financialRefund = new FinancialRefund(); $financialSettlement = new FinancialSettlement(); - - $total_apply_amount = $marketingContract->statistics_count([], $time, 'sum', ''); - $apply_amount_value = $marketingContract->statistics_count([], $time, 'group', 'create_time'); + $where1=[ + ['review_status','=', 1], + ['contract_type','=',0], + ['business_nature','=',4], + ['status','=',0] + ]; + $total_apply_amount = $marketingContract->statistics_count($where1, $time, 'sum', ''); + $apply_amount_value = $marketingContract->statistics_count($where1, $time, 'group', 'create_time'); $data[] = [ 'title' => '待立项项目', 'desc' => '',