diff --git a/application/common/Model/Task.php b/application/common/Model/Task.php index 4dd6cba..cb63644 100755 --- a/application/common/Model/Task.php +++ b/application/common/Model/Task.php @@ -47,7 +47,7 @@ class Task extends CommonModel $task['copied_info'][]=Member::where(['code'=>$v])->field('name,code,avatar')->find(); } if($task['department_liaison']){ - $task['liasion_info']=MemberAccount::where(['member_code'=>$task['department_liaison']])->field('name,code,avatar')->find(); + $task['liasion_info']=MemberAccount::where(['code'=>$task['department_liaison']])->field('name,member_code as code,avatar')->find(); }else{ $task['liasion_info']=[]; }