From a2454e0446ef03876097ac36a3cb01945557f0c7 Mon Sep 17 00:00:00 2001 From: chenzhi Date: Sat, 20 Jun 2020 09:27:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=96=E6=B6=88=E7=BB=93=E7=AE=97=E5=8D=95?= =?UTF-8?q?=E4=B8=8B=E6=B8=B8=E4=B8=AA=E4=BA=BA=E5=AF=BC=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CompanyStatementController.class.php | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/Application/Admin/Controller/CompanyStatementController.class.php b/Application/Admin/Controller/CompanyStatementController.class.php index 76d726486..4783c147d 100644 --- a/Application/Admin/Controller/CompanyStatementController.class.php +++ b/Application/Admin/Controller/CompanyStatementController.class.php @@ -390,18 +390,18 @@ class CompanyStatementController extends ThinkController } if ($data['company_belong'] == 9) {//上游 excelUpStreamTemplate($data, $all_sum_money, $all_pay_amount, $big_all_sum_money); - } else {//下游 - if($dbres["company_type"] == 1){ + } else { + //下游 + // if($dbres["company_type"] == 1){ excelDownStreamTemplate($data, $all_sum_money, $all_pay_amount, $big_all_sum_money); - }else{ - $data['statement_begin_time'] = date('Ymd',$data['statement_begin_time']); - $data['statement_end_time'] = date('Ymd',$data['statement_end_time']); - $data['statement_count'] = count($data['statement_info']); - // dd($data); - $this->assign("data",$data); - $this->display("exportPuStatement"); - } - + // }else{ + // $data['statement_begin_time'] = date('Ymd',$data['statement_begin_time']); + // $data['statement_end_time'] = date('Ymd',$data['statement_end_time']); + // $data['statement_count'] = count($data['statement_info']); + // // dd($data); + // $this->assign("data",$data); + // $this->display("exportPuStatement"); + // } } } //汇总