This commit is contained in:
holan20180123
2021-05-19 11:04:01 +08:00
parent 91c98ab401
commit 729c3c4891
7 changed files with 23 additions and 0 deletions
+6
View File
@@ -72,6 +72,12 @@ class actionModel extends model
$action->execution = $build->execution;
}
if($objectType == 'story' and $actionType == 'estimated')
{
$action->project = $this->dao->select('project')->from(TABLE_EXECUTION)->where('id')->eq((int)$extra)->fetch('project');
$action->execution = (int)$extra;
}
if($objectType == 'case' and (strpos(',linked2testtask,unlinkedfromtesttask,assigned,run,', ',' . $actionType . ',') !== false))
{
$testtask = $this->dao->select('project,execution')->from(TABLE_TESTTASK)->where('id')->eq((int)$extra)->fetch();