From 5ddde6d21f2d502b3fae9fb7843af2c3d65be560 Mon Sep 17 00:00:00 2001 From: yystopf Date: Wed, 16 Jul 2025 14:49:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=EF=BC=9A=E5=8F=98=E6=9B=B4?= =?UTF-8?q?=E7=8A=B6=E6=80=81=E6=B7=BB=E5=8A=A0=E7=BB=93=E6=9D=9F=E6=97=B6?= =?UTF-8?q?=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/models/issue.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/models/issue.rb b/app/models/issue.rb index cb508b2bf..521defc93 100644 --- a/app/models/issue.rb +++ b/app/models/issue.rb @@ -142,11 +142,11 @@ class Issue < ApplicationRecord if pm_project_id.present? && pm_issue_type.present? && status_id_changed? status_ids = case pm_issue_type when 1 - [3,5] + [2,7,8] when 2 - [3,5] + [3,5,6] when 3 - [5] + [3,5,6] else [] end