fix(测试跟踪):用例评审状态显示错误

--bug=1023489 --user=王旭 【测试跟踪】用例评审状态显示错误 https://www.tapd.cn/55049933/s/1346240
This commit is contained in:
WangXu10 2023-03-07 16:39:42 +08:00 committed by fit2-zhao
parent 47aa45b73b
commit 9aa3198c3c
1 changed files with 1 additions and 5 deletions

View File

@ -561,11 +561,7 @@ public class TestCaseReviewService {
if (statusList.contains(TestReviewCaseStatus.Underway.name()) || statusList.contains(TestReviewCaseStatus.Again.name()) ) {
return;
}
if (statusList.contains(TestReviewCaseStatus.UnPass.name())) {
testCaseReview.setStatus(TestCaseReviewStatus.Finished.name());
testCaseReviewMapper.updateByPrimaryKeySelective(testCaseReview);
return;
}
testCaseReview.setStatus(TestCaseReviewStatus.Completed.name());
testCaseReviewMapper.updateByPrimaryKeySelective(testCaseReview);
SaveTestCaseReviewRequest testCaseReviewRequest = new SaveTestCaseReviewRequest();