fix(测试跟踪): 修复功能用例显示同个用例多个版本问题
--bug=1021904 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001021904
This commit is contained in:
parent
9731236766
commit
dbffccd559
|
@ -453,6 +453,7 @@ public class TestCaseService {
|
|||
if (StringUtils.isBlank(testCase.getVersionId())) {
|
||||
return;
|
||||
}
|
||||
testCase.setLatest(false);
|
||||
TestCaseExample example = new TestCaseExample();
|
||||
example.createCriteria().andIdEqualTo(testCase.getId())
|
||||
.andVersionIdEqualTo(testCase.getVersionId());
|
||||
|
|
Loading…
Reference in New Issue