From afd7cd48d3a9bf4ee397cfb374171600d3ccefdb Mon Sep 17 00:00:00 2001 From: yystopf Date: Mon, 28 Jul 2025 14:48:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E:=20=E7=BC=BA=E9=99=B7?= =?UTF-8?q?=E6=93=8D=E4=BD=9C=E6=97=A5=E5=BF=97=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/models/journal.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/models/journal.rb b/app/models/journal.rb index d726c5491..f0237e75d 100644 --- a/app/models/journal.rb +++ b/app/models/journal.rb @@ -302,8 +302,6 @@ class Journal < ApplicationRecord else new_value = "<#{new_issue&.subject}>" end - 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}" else