Merge branch dev/task-152105 of zentao/zentaopms (#12334)

This commit is contained in:
刘刚
2025-11-13 16:34:21 +08:00
committed by Gitfox
2 changed files with 1 additions and 1 deletions
+1
View File
@@ -197,6 +197,7 @@ class stageModel extends model
->where('deleted')->eq(0)
->andWhere('workflowGroup')->eq($groupID)
->beginIF($this->config->edition != 'ipd')->andWhere('projectType')->ne('ipd')->fi()
->andWhere('type')->ne('lifecycle')
->orderBy($orderBy)
->fetchAll('id');
-1
View File
@@ -12611,7 +12611,6 @@ class upgradeModel extends model
$flowCode = $flow->code;
foreach($stageGroup[$projectModel] as $stage)
{
if($stage->type == 'lifecycle') continue;
if($flowCode == 'tpdproduct' && !in_array($stage->type, $this->config->project->categoryStages['TPD'])) continue;
if($flowCode == 'cbbproduct' && !in_array($stage->type, $this->config->project->categoryStages['CBB'])) continue;
if(in_array($flowCode, array('cpdproduct', 'cpdproject')) && !in_array($stage->type, $this->config->project->categoryStages['CPD'])) continue;