fix(测试跟踪):用例评审状态显示错误
--bug=1023489 --user=王旭 【测试跟踪】用例评审状态显示错误 https://www.tapd.cn/55049933/s/1346240
This commit is contained in:
parent
47aa45b73b
commit
9aa3198c3c
|
@ -561,11 +561,7 @@ public class TestCaseReviewService {
|
||||||
if (statusList.contains(TestReviewCaseStatus.Underway.name()) || statusList.contains(TestReviewCaseStatus.Again.name()) ) {
|
if (statusList.contains(TestReviewCaseStatus.Underway.name()) || statusList.contains(TestReviewCaseStatus.Again.name()) ) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (statusList.contains(TestReviewCaseStatus.UnPass.name())) {
|
|
||||||
testCaseReview.setStatus(TestCaseReviewStatus.Finished.name());
|
|
||||||
testCaseReviewMapper.updateByPrimaryKeySelective(testCaseReview);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
testCaseReview.setStatus(TestCaseReviewStatus.Completed.name());
|
testCaseReview.setStatus(TestCaseReviewStatus.Completed.name());
|
||||||
testCaseReviewMapper.updateByPrimaryKeySelective(testCaseReview);
|
testCaseReviewMapper.updateByPrimaryKeySelective(testCaseReview);
|
||||||
SaveTestCaseReviewRequest testCaseReviewRequest = new SaveTestCaseReviewRequest();
|
SaveTestCaseReviewRequest testCaseReviewRequest = new SaveTestCaseReviewRequest();
|
||||||
|
|
Loading…
Reference in New Issue