fix(测试跟踪): 测试评审和计划关联用例后不显示

--bug=1010014 --user=陈建星 【测试跟踪】github#9991,测试跟踪首页用例评审加载慢6S,优化性能 https://www.tapd.cn/55049933/s/1175661
This commit is contained in:
chenjianxing 2022-06-08 10:22:24 +08:00 committed by jianxing
parent 641ec3edca
commit 7127453c4c
2 changed files with 3 additions and 0 deletions

View File

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

View File

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