From 139773c466ab0bcf18068b431d389166a53bdf2e Mon Sep 17 00:00:00 2001 From: yystopf Date: Wed, 30 Jul 2025 15:07:53 +0800 Subject: [PATCH] =?UTF-8?q?fixed:=20=E6=93=8D=E4=BD=9C=E6=97=A5=E5=BF=97?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E4=B8=8D=E6=AD=A3=E7=A1=AE=E6=9B=BF=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/models/journal.rb | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/app/models/journal.rb b/app/models/journal.rb index cc52d5437..6f357f608 100644 --- a/app/models/journal.rb +++ b/app/models/journal.rb @@ -368,13 +368,15 @@ class Journal < ApplicationRecord end case self.issue.pm_issue_type.to_i when 1 - content.gsub!('关闭', '实现中') - content.gsub!('拒绝', '测试中') - content.gsub!('新增', '待评审') content.gsub!('待实现', '已发版') content.gsub!('实现中', '已关闭') - content.gsub!('已解决', '待实现') + content.gsub!('新增', '待评审') content.gsub!('正在解决', '已拒绝') + content.gsub!('已解决', '待实现') + content.gsub!('关闭', '实现中') + content.gsub!("已实现中", '已关闭') + content.gsub!('拒绝', '测试中') + content.gsub!("已测试中", '已拒绝') when 2 content.gsub!('新增', '待处理') content.gsub!('正在解决', '进行中')