From f6dcdbe21f9378c961652a97aa02e258d4085090 Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Wed, 8 Jun 2022 10:22:24 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E8=AF=84=E5=AE=A1=E5=92=8C=E8=AE=A1=E5=88=92?= =?UTF-8?q?=E5=85=B3=E8=81=94=E7=94=A8=E4=BE=8B=E5=90=8E=E4=B8=8D=E6=98=BE?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1010014 --user=陈建星 【测试跟踪】github#9991,测试跟踪首页用例评审加载慢6S,优化性能 https://www.tapd.cn/55049933/s/1175661 --- .../io/metersphere/track/service/TestCaseReviewService.java | 1 + .../main/java/io/metersphere/track/service/TestPlanService.java | 2 ++ 2 files changed, 3 insertions(+) diff --git a/backend/src/main/java/io/metersphere/track/service/TestCaseReviewService.java b/backend/src/main/java/io/metersphere/track/service/TestCaseReviewService.java index 5f5033a9e8..b546ad017d 100644 --- a/backend/src/main/java/io/metersphere/track/service/TestCaseReviewService.java +++ b/backend/src/main/java/io/metersphere/track/service/TestCaseReviewService.java @@ -358,6 +358,7 @@ public class TestCaseReviewService { caseReview.setUpdateTime(System.currentTimeMillis()); caseReview.setReviewId(request.getReviewId()); caseReview.setStatus(TestCaseReviewStatus.Prepare.name()); + caseReview.setIsDel(false); caseReview.setOrder(nextOrder); batchMapper.insert(caseReview); nextOrder += ServiceUtils.ORDER_STEP; diff --git a/backend/src/main/java/io/metersphere/track/service/TestPlanService.java b/backend/src/main/java/io/metersphere/track/service/TestPlanService.java index d796effb81..a5c63d47bd 100644 --- a/backend/src/main/java/io/metersphere/track/service/TestPlanService.java +++ b/backend/src/main/java/io/metersphere/track/service/TestPlanService.java @@ -560,6 +560,7 @@ public class TestPlanService { testPlanTestCase.setUpdateTime(System.currentTimeMillis()); testPlanTestCase.setPlanId(request.getPlanId()); testPlanTestCase.setStatus(TestPlanStatus.Prepare.name()); + testPlanTestCase.setIsDel(false); testPlanTestCase.setOrder(nextOrder); nextOrder += ServiceUtils.ORDER_STEP; batchMapper.insert(testPlanTestCase); @@ -1194,6 +1195,7 @@ public class TestPlanService { testPlanTestCase.setCreateUser(SessionUtils.getUserId()); testPlanTestCase.setRemark(testCase.getRemark()); testPlanTestCase.setOrder(nextTestCaseOrder); + testPlanTestCase.setIsDel(false); nextTestCaseOrder += 5000; testCaseMapper.insert(testPlanTestCase); }