fix(测试计划): 测试计划详情用例批量关联缺陷联调问题
This commit is contained in:
parent
185d45920a
commit
af6ea7cc78
|
@ -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) {
|
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)) {
|
if (bugMap.containsKey(id)) {
|
||||||
bugIds.removeAll(bugMap.get(id));
|
bugIds.removeAll(bugMap.get(id));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue