fix(测试跟踪): 测试评审和计划关联用例后不显示
--bug=1010014 --user=陈建星 【测试跟踪】github#9991,测试跟踪首页用例评审加载慢6S,优化性能 https://www.tapd.cn/55049933/s/1175661
This commit is contained in:
parent
d03ff786c3
commit
f6dcdbe21f
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue