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"); + // } } } //汇总