From bcabe0e74c13621882f0af182d2e092a28cef346 Mon Sep 17 00:00:00 2001 From: xxq250 Date: Mon, 3 Mar 2025 10:31:26 +0800 Subject: [PATCH] =?UTF-8?q?fixed=20=E8=BF=AD=E4=BB=A3=E5=AE=8C=E6=88=90?= =?UTF-8?q?=E6=97=B6=EF=BC=8C=E7=BB=93=E6=9D=9F=E6=97=B6=E9=97=B4=E6=9B=B4?= =?UTF-8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/api/pm/sprint_issues_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/api/pm/sprint_issues_controller.rb b/app/controllers/api/pm/sprint_issues_controller.rb index 732ff524f..7db7c3604 100644 --- a/app/controllers/api/pm/sprint_issues_controller.rb +++ b/app/controllers/api/pm/sprint_issues_controller.rb @@ -71,7 +71,7 @@ class Api::Pm::SprintIssuesController < Api::Pm::BaseController begin case complete_params[:complete_type].to_i when 1 - @issues.update_all(status_id: 5) + @issues.update_all(status_id: 5, due_date: Time.now) when 2 @issues.update_all(pm_sprint_id: 0) when 3