leftJoin("account b" ,"b.id=a.account_id") ->where([ ['a.is_del', '=', 0], ['a.status', '=', 1], ['b.level', '=', 3]])->where(["companyCode"=>$supplierNo])->findOrEmpty()->isEmpty(); } }