更新
This commit is contained in:
parent
005ae37cb9
commit
6cf3100cd0
@ -549,7 +549,7 @@ class Task extends CommonModel
|
||||
self::name('task')->where('id',$task['id'])->update($data);
|
||||
}elseif($type==3){
|
||||
$comments='add';
|
||||
$code= TaskStages::where('project_code',$task['project_code'])->where('name','验收中')->where('deleted',0)->value('code');
|
||||
$code= TaskStages::where('project_code',$task['project_code'])->where('name','待验收')->where('deleted',0)->value('code');
|
||||
if(!$code){
|
||||
throw new Exception('任务列表CODE不存在', 1);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user