fix(测试跟踪) 批量删除功能用例后,未全部删除devops平台需求关联的功能用例链接
This commit is contained in:
parent
7d86f5f9b8
commit
b749ff3d9f
|
@ -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