特殊补点用户名修正

master
zhengyongxing 4 years ago
parent ef13761820
commit 08dd238ca4

@ -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'];

Loading…
Cancel
Save