更改:statistics查询规则更改

This commit is contained in:
yystopf 2025-07-15 14:51:31 +08:00
parent 8fa6e2b554
commit 97bd0bd8e6
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ class Api::Pm::ProjectsController < Api::Pm::BaseController
IssueStatus.all.map do |e|
# next if e.id == 5
[1,2,3].map{ |type|
next if e.id == 7 || e.id == 8
next if [2,3].include?(type) && [7, 8].include?(e.id)
type_status_data[type] = {} if type_status_data[type].nil?
if type_status[[type,e.id]].nil?
type_status_data[type][e.id] = 0