This commit is contained in:
mkm 2024-01-12 17:59:17 +08:00
parent 005ae37cb9
commit 6cf3100cd0

View File

@ -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);
}