fixed 迭代完成时,结束时间更新

This commit is contained in:
2025-03-03 10:31:26 +08:00
parent 150f7a485b
commit bcabe0e74c

View File

@@ -71,7 +71,7 @@ class Api::Pm::SprintIssuesController < Api::Pm::BaseController
begin begin
case complete_params[:complete_type].to_i case complete_params[:complete_type].to_i
when 1 when 1
@issues.update_all(status_id: 5) @issues.update_all(status_id: 5, due_date: Time.now)
when 2 when 2
@issues.update_all(pm_sprint_id: 0) @issues.update_all(pm_sprint_id: 0)
when 3 when 3