fix(工作台): 工作台首页缺陷统计有误
This commit is contained in:
parent
322ab0a9a1
commit
02641e86c0
|
@ -94,6 +94,7 @@
|
||||||
from custom_field cf
|
from custom_field cf
|
||||||
left join project pr
|
left join project pr
|
||||||
on cf.project_id = pr.id
|
on cf.project_id = pr.id
|
||||||
|
inner join custom_field_template cft on cft.template_id = pr.issue_template_id
|
||||||
where cf.scene = 'ISSUE' and cf.name = '状态'
|
where cf.scene = 'ISSUE' and cf.name = '状态'
|
||||||
and (pr.workspace_id = #{request.workspaceId} or global = true)
|
and (pr.workspace_id = #{request.workspaceId} or global = true)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue