forked from Gitlink/forgeplus
更改:变更状态添加结束时间
This commit is contained in:
parent
845574f9e0
commit
5ddde6d21f
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue