更新
This commit is contained in:
parent
2f0fb26c7d
commit
09aecaba28
@ -518,7 +518,14 @@ class Task extends CommonModel
|
||||
array_push($transferred,$task['exchange_list'][0]);
|
||||
$data['transferred']=implode(',',$transferred);
|
||||
$executorCode=$task['exchange_list'][0];
|
||||
unset($task['exchange_list'][0]);
|
||||
if($task['exchange_list']){
|
||||
$task['exchange_list']=implode(',',$task['exchange_list']);
|
||||
}else{
|
||||
$task['exchange_list']='';
|
||||
}
|
||||
TaskMember::inviteMember($executorCode, $taskCode, 1);
|
||||
|
||||
self::where('id',$task['id'])->update($data);
|
||||
}else{
|
||||
$code= TaskStages::where('project_code',$task['project_code'])->where('name','已完成')->where('deleted',0)->value('code');
|
||||
|
Loading…
x
Reference in New Issue
Block a user