diff --git a/app/models/journal.rb b/app/models/journal.rb
index 4a78ed301..d2410a2b7 100644
--- a/app/models/journal.rb
+++ b/app/models/journal.rb
@@ -117,12 +117,12 @@ class Journal < ApplicationRecord
old_value = "#{Issue.find_by_id(detail.old_value)&.subject}"
new_value = "#{Issue.find_by_id(detail.value)&.subject}"
if detail.old_value.nil? || detail.old_value.blank?
- content += "关联了父需求<#{new_value}>"
+ content += "关联了父需求<#{new_value}>"
else
if detail.value.nil? || detail.value.blank?
- content += "取消了关联的父需求<#{old_value}>"
+ content += "取消了关联的父需求<#{old_value}>"
else
- content += "将关联的父需求由<#{old_value}>更改为<#{new_value}>"
+ content += "将关联的父需求由<#{old_value}>更改为<#{new_value}>"
end
end
return content
@@ -177,12 +177,12 @@ class Journal < ApplicationRecord
old_value = "#{Issue.find_by_id(detail.old_value)&.subject}"
new_value = "#{Issue.find_by_id(detail.value)&.subject}"
if detail.old_value.nil? || detail.old_value.blank?
- content += "关联了父任务<#{new_value}>"
+ content += "关联了父任务<#{new_value}>"
else
if detail.value.nil? || detail.value.blank?
- content += "取消了关联的父任务<#{old_value}>"
+ content += "取消了关联的父任务<#{old_value}>"
else
- content += "将关联的父任务由<#{old_value}>更改为<#{new_value}>"
+ content += "将关联的父任务由<#{old_value}>更改为<#{new_value}>"
end
end
return content
@@ -237,12 +237,12 @@ class Journal < ApplicationRecord
old_value = "#{Issue.find_by_id(detail.old_value)&.subject}"
new_value = "#{Issue.find_by_id(detail.value)&.subject}"
if detail.old_value.nil? || detail.old_value.blank?
- content += "关联了父缺陷<#{new_value}>"
+ content += "关联了父缺陷<#{new_value}>"
else
if detail.value.nil? || detail.value.blank?
- content += "取消了关联的父缺陷<#{old_value}>"
+ content += "取消了关联的父缺陷<#{old_value}>"
else
- content += "将关联的父缺陷由<#{old_value}>更改为<#{new_value}>"
+ content += "将关联的父缺陷由<#{old_value}>更改为<#{new_value}>"
end
end
return content