From f9e72cb752f91acfb0fe44f8d0494d698dadc87b Mon Sep 17 00:00:00 2001 From: song-cc-rock Date: Fri, 14 Oct 2022 14:29:54 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E9=A6=96=E9=A1=B5=E5=85=B3=E8=81=94=E7=94=A8=E4=BE=8B=E6=9C=AA?= =?UTF-8?q?=E8=A6=86=E7=9B=96=E6=95=B0=E9=87=8F=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1018014 --user=宋昌昌 【测试跟踪】首页-关联用例数量统计-未覆盖数量统计有误 https://www.tapd.cn/55049933/s/1261791 --- .../src/main/java/io/metersphere/service/TestCaseService.java | 1 - 1 file changed, 1 deletion(-) diff --git a/test-track/backend/src/main/java/io/metersphere/service/TestCaseService.java b/test-track/backend/src/main/java/io/metersphere/service/TestCaseService.java index d91c83de8d..b6901c0b3b 100644 --- a/test-track/backend/src/main/java/io/metersphere/service/TestCaseService.java +++ b/test-track/backend/src/main/java/io/metersphere/service/TestCaseService.java @@ -2258,7 +2258,6 @@ public class TestCaseService { public List getTestCaseByProjectId(String projectId) { TestCaseExample example = new TestCaseExample(); example.createCriteria().andProjectIdEqualTo(projectId).andStatusNotEqualTo("Trash").andLatestEqualTo(true); - example.or().andProjectIdEqualTo(projectId).andStatusIsNull().andLatestEqualTo(true); return testCaseMapper.selectByExample(example); }