|
|
|
@ -528,6 +528,21 @@ WHERE old_change_promote_id in ({$promoteData})";
|
|
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
|
|
$promoteData = M("promote","tab_")
|
|
|
|
|
->field("id")
|
|
|
|
|
->where(['company_belong'=>2])
|
|
|
|
|
->select();
|
|
|
|
|
|
|
|
|
|
$promoteData = implode(',',array_column($promoteData,'id'));
|
|
|
|
|
|
|
|
|
|
$spendData = M('spend','tab_')->field("old_change_promote_account")->where(['old_change_promote_id'=>['in',$promoteData]])->find();
|
|
|
|
|
|
|
|
|
|
// var_dump($spendData);die();
|
|
|
|
|
|
|
|
|
|
if ($spendData['old_change_promote_account']) {
|
|
|
|
|
$this->assign('old_change_promote_account',1);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$this->display('promotedataconfigindex');
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|