fix(测试跟踪): 首页测试跟踪用例评审多次,数量显示不正确
--bug=1014279 --user=宋昌昌 【测试跟踪】首页用例评审用例状态多次修改后,数量显示不正确 https://www.tapd.cn/55049933/s/1187955
This commit is contained in:
parent
ad9ac6c4c6
commit
2625b877cc
|
@ -471,10 +471,10 @@ public class TestCaseReviewService {
|
|||
countMapDTOS.forEach(item -> {
|
||||
testReview.setTotal(testReview.getTotal() + item.getValue());
|
||||
if (!StringUtils.equals(item.getKey(), TestReviewCaseStatus.Prepare.name())) {
|
||||
testReview.setReviewed(testReview.getReviewed() + 1);
|
||||
testReview.setReviewed(testReview.getReviewed() + item.getValue());
|
||||
}
|
||||
if (StringUtils.equals(item.getKey(), TestReviewCaseStatus.Pass.name())) {
|
||||
testReview.setPass(testReview.getPass() + 1);
|
||||
testReview.setPass(testReview.getPass() + item.getValue());
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue