|
|
@ -1368,7 +1368,7 @@ class CompanyStatementController extends ThinkController
|
|
|
|
$statement_data = [];
|
|
|
|
$statement_data = [];
|
|
|
|
M()->startTrans();
|
|
|
|
M()->startTrans();
|
|
|
|
foreach ($data as $key => $value) {
|
|
|
|
foreach ($data as $key => $value) {
|
|
|
|
|
|
|
|
$statement_data = [];
|
|
|
|
$company_data = M("promote_company","tab_")->where(['id'=>$value['company_id']])->find();
|
|
|
|
$company_data = M("promote_company","tab_")->where(['id'=>$value['company_id']])->find();
|
|
|
|
|
|
|
|
|
|
|
|
$company_type = M("company_relation","tab_")->where("first_company_id={$value['company_id']} or second_company_id={$value['company_id']}")->find();
|
|
|
|
$company_type = M("company_relation","tab_")->where("first_company_id={$value['company_id']} or second_company_id={$value['company_id']}")->find();
|
|
|
|