From 08dd238ca48ec417505e71636935b243fdd3dfb3 Mon Sep 17 00:00:00 2001 From: zhengyongxing Date: Tue, 1 Dec 2020 18:17:34 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=B9=E6=AE=8A=E8=A1=A5=E7=82=B9=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E5=90=8D=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Admin/Controller/CompanyStatementController.class.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Application/Admin/Controller/CompanyStatementController.class.php b/Application/Admin/Controller/CompanyStatementController.class.php index 602f22066..d6b84bc75 100644 --- a/Application/Admin/Controller/CompanyStatementController.class.php +++ b/Application/Admin/Controller/CompanyStatementController.class.php @@ -1455,6 +1455,8 @@ class CompanyStatementController extends ThinkController $statement_data = []; $company_data = M("promote_company","tab_")->where(['id'=>$value['company_id']])->find(); +// dump($company_data);die(); + $company_type = M("company_relation","tab_")->where("first_company_id={$value['company_id']} or second_company_id={$value['company_id']}")->find(); $insert['is_payment'] = $company_type['is_payment']; @@ -1473,7 +1475,7 @@ class CompanyStatementController extends ThinkController $proCompany_info['link_man'] = $company_data['settlement_contact']; $proCompany_info['link_phone'] =$company_data['contact_phone']; $proCompany_info['address'] = $company_data['address']; - $proCompany_info['payee_name'] =$company_data['company_name']; + $proCompany_info['payee_name'] =$company_data['bank_address']; $proCompany_info['bank_account'] = $company_data['bank_card']; $proCompany_info['opening_bank'] =$company_data['bank_name'];