From 1c0aea3cdb368f5aca124829d1a649dcc1496d43 Mon Sep 17 00:00:00 2001 From: song-cc-rock Date: Fri, 21 Apr 2023 10:55:11 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=B7=A5=E4=BD=9C=E5=8F=B0):=20=E4=BB=AA?= =?UTF-8?q?=E8=A1=A8=E7=9B=98=E5=BE=85=E5=8A=9E=E7=BC=BA=E9=99=B7=E6=95=B0?= =?UTF-8?q?=E7=9B=AE=E7=BB=9F=E8=AE=A1=E6=9C=89=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1025659 --user=宋昌昌 [我的工作台]项目集成jira平台-同步缺陷后我的仪表盘-“我的待办”-缺陷管理数量是0,但是“我的待办”tab是584条 https://www.tapd.cn/55049933/s/1365030 --- .../metersphere/base/mapper/ext/ExtIssuesMapper.xml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/workstation/backend/src/main/java/io/metersphere/base/mapper/ext/ExtIssuesMapper.xml b/workstation/backend/src/main/java/io/metersphere/base/mapper/ext/ExtIssuesMapper.xml index 1045584413..0da2956493 100644 --- a/workstation/backend/src/main/java/io/metersphere/base/mapper/ext/ExtIssuesMapper.xml +++ b/workstation/backend/src/main/java/io/metersphere/base/mapper/ext/ExtIssuesMapper.xml @@ -18,7 +18,18 @@ #{projectId} - and ss.status = 'new' + + and ( + ( + ss.platform != 'Local' and + ss.platform_status not in ('closed','已关闭','已完成','完成','拒绝','已拒绝','rejected','delete','resolved','Done','verified','已验证') + ) + or + ( + ss.platform = 'Local' and + ss.status not in ('closed','已关闭','已完成','完成','拒绝','已拒绝','rejected','delete','resolved','Done','verified','已验证') + ) + ) and ss.creator = #{userId,jdbcType=VARCHAR}