特殊补点功能bug修正

master
zhengyongxing 4 years ago
parent af5878a98f
commit 65dc1dec9e

@ -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();

Loading…
Cancel
Save