更新
This commit is contained in:
parent
66f1bcd35c
commit
2aab1dfbed
@ -41,10 +41,16 @@ class Task extends CommonModel
|
||||
$task['exchange_info']=null;
|
||||
$task['copied_info']=null;
|
||||
foreach($exchange_list as $k=>$v){
|
||||
$task['exchange_info'][]=Member::where(['code'=>$v])->field('name,code,avatar')->find();
|
||||
$find=Member::where(['code'=>$v])->field('name,code,avatar')->find();
|
||||
if($find){
|
||||
$task['exchange_info'][]=$find;
|
||||
}
|
||||
}
|
||||
foreach($copied_list as $k=>$v){
|
||||
$task['copied_info'][]=Member::where(['code'=>$v])->field('name,code,avatar')->find();
|
||||
$find=Member::where(['code'=>$v])->field('name,code,avatar')->find();
|
||||
if($find){
|
||||
$task['copied_info'][]=$find;
|
||||
}
|
||||
}
|
||||
if($task['department_liaison']){
|
||||
$task['liasion_info']=MemberAccount::where(['code'=>$task['department_liaison']])->field('name,member_code as code,avatar')->find();
|
||||
|
Loading…
x
Reference in New Issue
Block a user