fix(测试跟踪) 批量删除功能用例后,未全部删除devops平台需求关联的功能用例链接
This commit is contained in:
parent
577e5c2d49
commit
8669e0ec97
|
@ -293,7 +293,7 @@ public class TestCaseService {
|
|||
// AzureDevops 才处理
|
||||
if (StringUtils.equals(project.getPlatform(), IssuesManagePlatform.AzureDevops.name())) {
|
||||
testcaseIds.forEach(id -> {
|
||||
TestCaseWithBLOBs testCaseWithBLOBs = testCaseMapper.selectByPrimaryKey(testcaseIds.get(0));
|
||||
TestCaseWithBLOBs testCaseWithBLOBs = testCaseMapper.selectByPrimaryKey(id);
|
||||
if (testCaseWithBLOBs != null) {
|
||||
EditTestCaseRequest request = new EditTestCaseRequest();
|
||||
BeanUtils.copyBean(request, testCaseWithBLOBs);
|
||||
|
|
Loading…
Reference in New Issue