Merge branch 'standalone_develop' into dev_osredm_server

This commit is contained in:
yystopf 2025-08-01 14:36:59 +08:00
commit 059146dbc3
1 changed files with 2 additions and 1 deletions

View File

@ -533,6 +533,7 @@ class Journal < ApplicationRecord
def operate_content
content = "#{operate_by_content}"
detail = self.journal_details.take
content = ""
case detail.property
when 'issue'
content += "创建了<b>疑修</b>"
@ -606,7 +607,7 @@ class Journal < ApplicationRecord
content += "由<b>#{old_value}</b>更改为<b>#{new_value}</b>"
end
end
content = self.pm_operate_content if content == ""
end
def journal_content