修复:无法通过企业标识筛选周报
This commit is contained in:
parent
a5cf0ce14e
commit
bff009d673
|
@ -97,8 +97,8 @@ class Api::V1::Issues::ListService < ApplicationService
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
issues = issues.where(enterprise_identifier: enterprise_identifier) if enterprise_identifier.present? && [4,5].include?(pm_issue_type.to_i)
|
issues = issues.where(enterprise_identifier: enterprise_identifier) if enterprise_identifier.present? && ([4,5].include?(pm_issue_type.to_i) || pm_issue_types.present?)
|
||||||
|
|
||||||
#pm相关
|
#pm相关
|
||||||
# root_id# -1 查一级目录
|
# root_id# -1 查一级目录
|
||||||
issues = if root_id.to_i == -1
|
issues = if root_id.to_i == -1
|
||||||
|
|
Loading…
Reference in New Issue