wugg 8 달 전
부모
커밋
b685e00661
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/bug/controller/WorkRole.php

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

@@ -265,7 +265,7 @@ class WorkRole extends Base{
 
 		foreach ($list->items() as &$item){
 		$uidArr = WorkUser::withJoin(['workRole'],'left')
-		->where(['account_id'=>$item['account_id'],'companyNo'=>$item['companyCode'],"belong"=>$param['belong']])
+		->where(['account_id'=>$item['account_id'],'work_user.companyNo'=>$item['companyCode'],"belong"=>$param['belong']])
 		->findOrEmpty();
 				$item['role_name'] ='';
 				$item['user_role_id'] =0;