wugg 8 meses atrás
pai
commit
ca8900cc61
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      app/bug/controller/WorkRole.php

+ 1 - 1
app/bug/controller/WorkRole.php

@@ -242,7 +242,7 @@ class WorkRole extends Base{
 	    'belong'=>1,'account_id'=>'','page'=>1,'size'=>15],'post','trim');
 		$where=[["a.is_del","=",0]];
 		$workWhere=[['work_user.status','in',[1,2]]];
-		if($param['companyNo']!='')$haswhere[]=['companyCode','=',$param['companyNo']];
+		if($param['companyNo']!='')$where[]=['companyCode','=',$param['companyNo']];
 		if($param['level']!='')$where[]=['level','=',$param['level']];
 		if($param['account_id']!='')$where[]=['a.id','=',$param['account_id']];
 		if($param['belong']!=''){