+ testcase: if the parent scene doesn't exist set the parent field to 0.

This commit is contained in:
liugang
2023-09-04 13:08:14 +08:00
parent bb2d61df71
commit 35cbe5ffd2
+4
View File
@@ -2409,6 +2409,10 @@ class testcaseModel extends model
$scene->branch = $parent->branch;
$scene->module = $parent->module;
}
else
{
$scene->parent = 0;
}
}
$this->dao->update(TABLE_SCENE)->data($scene)->where('id')->eq($sceneID)->exec();