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); }