fix(测试跟踪): 用例批量关联需求问题
--bug=1022724 --user=宋昌昌 【缺陷管理】github #21633,项目关联devops三方平台,批量关联需求后,tfs平台的需求未全部关联上所选用例 https://www.tapd.cn/55049933/s/1396171
This commit is contained in:
parent
84137c7364
commit
27b5cfc1cd
|
@ -3306,7 +3306,7 @@ public class TestCaseService {
|
|||
}
|
||||
|
||||
for (TestCase tc : testCaseList) {
|
||||
|
||||
tc.setDemandId(demandId);
|
||||
if (project != null && StringUtils.equals(project.getPlatform(), IssuesManagePlatform.AzureDevops.name())) {
|
||||
EditTestCaseRequest editTestCaseRequest = new EditTestCaseRequest();
|
||||
BeanUtils.copyBean(editTestCaseRequest, tc);
|
||||
|
@ -3319,8 +3319,6 @@ public class TestCaseService {
|
|||
LogUtil.error(e);
|
||||
}
|
||||
}
|
||||
|
||||
tc.setDemandId(demandId);
|
||||
tc.setDemandName(demandName);
|
||||
mapper.updateByPrimaryKey(tc);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue