This commit is contained in:
parent
1a374468ea
commit
0643d24486
|
@ -117,12 +117,12 @@ class Journal < ApplicationRecord
|
|||
old_value = "<b>#{Issue.find_by_id(detail.old_value)&.subject}</b>"
|
||||
new_value = "<b>#{Issue.find_by_id(detail.value)&.subject}</b>"
|
||||
if detail.old_value.nil? || detail.old_value.blank?
|
||||
content += "关联了父需求<b><#{new_value}></b>"
|
||||
content += "关联了父需求<#{new_value}>"
|
||||
else
|
||||
if detail.value.nil? || detail.value.blank?
|
||||
content += "取消了关联的父需求<b><#{old_value}></b>"
|
||||
content += "取消了关联的父需求<#{old_value}>"
|
||||
else
|
||||
content += "将关联的父需求由<b><#{old_value}></b>更改为<b><#{new_value}></b>"
|
||||
content += "将关联的父需求由<#{old_value}>更改为<#{new_value}>"
|
||||
end
|
||||
end
|
||||
return content
|
||||
|
@ -177,12 +177,12 @@ class Journal < ApplicationRecord
|
|||
old_value = "<b>#{Issue.find_by_id(detail.old_value)&.subject}</b>"
|
||||
new_value = "<b>#{Issue.find_by_id(detail.value)&.subject}</b>"
|
||||
if detail.old_value.nil? || detail.old_value.blank?
|
||||
content += "关联了父任务<b><#{new_value}></b>"
|
||||
content += "关联了父任务<#{new_value}>"
|
||||
else
|
||||
if detail.value.nil? || detail.value.blank?
|
||||
content += "取消了关联的父任务<b><#{old_value}></b>"
|
||||
content += "取消了关联的父任务<#{old_value}>"
|
||||
else
|
||||
content += "将关联的父任务由<b><#{old_value}></b>更改为<b><#{new_value}></b>"
|
||||
content += "将关联的父任务由<#{old_value}>更改为<#{new_value}>"
|
||||
end
|
||||
end
|
||||
return content
|
||||
|
@ -237,12 +237,12 @@ class Journal < ApplicationRecord
|
|||
old_value = "<b>#{Issue.find_by_id(detail.old_value)&.subject}</b>"
|
||||
new_value = "<b>#{Issue.find_by_id(detail.value)&.subject}</b>"
|
||||
if detail.old_value.nil? || detail.old_value.blank?
|
||||
content += "关联了父缺陷<b><#{new_value}></b>"
|
||||
content += "关联了父缺陷<#{new_value}>"
|
||||
else
|
||||
if detail.value.nil? || detail.value.blank?
|
||||
content += "取消了关联的父缺陷<b><#{old_value}></b>"
|
||||
content += "取消了关联的父缺陷<#{old_value}>"
|
||||
else
|
||||
content += "将关联的父缺陷由<b><#{old_value}></b>更改为<b><#{new_value}></b>"
|
||||
content += "将关联的父缺陷由<#{old_value}>更改为<#{new_value}>"
|
||||
end
|
||||
end
|
||||
return content
|
||||
|
|
Loading…
Reference in New Issue