* [bug#66174,done,0.2h] fix bug.

This commit is contained in:
sunguangming
2025-10-17 03:00:21 +00:00
parent ddf333b56d
commit e0aa4260b4
+2 -2
View File
@@ -11310,7 +11310,7 @@ class upgradeModel extends model
if(!empty($projectWorkflowGroup[$module->workflowGroup]))
{
$projects = array_keys($projectWorkflowGroup[$module->workflowGroup]);
$this->dao->update(TABLE_DESIGN)->set('type')->eq($deliverableID)->where('type')->eq($value)->andWhere('project')->in($projects)->exec();
$this->dao->update(TABLE_DESIGN)->set('type')->eq($deliverableID)->where('type')->eq($key)->andWhere('project')->in($projects)->exec();
}
}
@@ -11324,7 +11324,7 @@ class upgradeModel extends model
if(!empty($projectWorkflowGroup[$module->workflowGroup]))
{
$projects = array_keys($projectWorkflowGroup[$module->workflowGroup]);
$this->dao->update(TABLE_DESIGN)->set('type')->eq($deliverableID)->where('type')->eq($value)->andWhere('project')->in($projects)->exec();
$this->dao->update(TABLE_DESIGN)->set('type')->eq($deliverableID)->where('type')->eq($key)->andWhere('project')->in($projects)->exec();
}
}
}