|
$inser=$acc->update($upda,["account_id"=>$post['account_id'],"companyCode"=>$post['companyCode'],"is_del"=>0]);
|
|
$inser=$acc->update($upda,["account_id"=>$post['account_id'],"companyCode"=>$post['companyCode'],"is_del"=>0]);
|
|
if($inser==false) return json_show(1005,"关联企业状态设置失败");
|
|
if($inser==false) return json_show(1005,"关联企业状态设置失败");
|
|
$count = $acc->where([["account_id","=",$post['account_id']],["status","<>",$post['status']],["is_del","=",0]])->count();
|
|
$count = $acc->where([["account_id","=",$post['account_id']],["status","<>",$post['status']],["is_del","=",0]])->count();
|