fix(工作台): 工作台首页缺陷统计有误

This commit is contained in:
chenjianxing 2022-12-27 18:17:07 +08:00 committed by jianxing
parent 322ab0a9a1
commit 02641e86c0
1 changed files with 1 additions and 0 deletions

View File

@ -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)
) )