fix(测试跟踪): 导入用例更新时忽略回收站的重复用例
--bug=1029871 --user=宋昌昌 【测试跟踪】github#26516,测试跟踪-导入用例新建415条,然后把用例全部删除,再次导入用例到列表有415条用例。然后修改本地用例导入更新用例就有830条了数据重复 https://www.tapd.cn/55049933/s/1414630
This commit is contained in:
parent
0148a4a578
commit
8a0c45cbda
|
@ -1383,7 +1383,7 @@ public class TestCaseService {
|
|||
|
||||
TestCaseExample example = new TestCaseExample();
|
||||
TestCaseExample.Criteria criteria = example.createCriteria();
|
||||
criteria.andProjectIdEqualTo(projectId);
|
||||
criteria.andProjectIdEqualTo(projectId).andStatusNotEqualTo(DataStatus.TRASH.getValue());
|
||||
|
||||
if (request.isUseCustomId()) {
|
||||
List<String> nums = testCases.stream()
|
||||
|
|
Loading…
Reference in New Issue