fix(测试计划): 测试计划详情用例批量关联缺陷联调问题

This commit is contained in:
WangXu10 2024-08-30 13:56:25 +08:00 committed by Craftsman
parent 185d45920a
commit af6ea7cc78
1 changed files with 1 additions and 1 deletions

View File

@ -1015,7 +1015,7 @@ public class TestPlanFunctionalCaseService extends TestPlanResourceService {
}
private void buildAssociateBugData(String id, Map<String, List<String>> bugMap, List<BugRelationCase> list, TestPlanCaseBatchAssociateBugRequest request, Map<String, String> caseMap, String userId) {
List<String> bugIds = request.getBugIds();
List<String> bugIds = new ArrayList<>(request.getBugIds());
if (bugMap.containsKey(id)) {
bugIds.removeAll(bugMap.get(id));
}