更改:变更状态添加结束时间

This commit is contained in:
yystopf 2025-07-16 14:49:08 +08:00
parent 845574f9e0
commit 5ddde6d21f
1 changed files with 3 additions and 3 deletions

View File

@ -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