fix(测试计划): 关联父子模块问题
--bug=1045496 --user=王旭 【测试计划】测试规划-关联接口用例-API列表-父模块取消当前/选择当前-用例关联范围错误 https://www.tapd.cn/55049933/s/1566565
This commit is contained in:
parent
9cc77a5006
commit
c0f193f8f9
|
@ -648,6 +648,7 @@ public class TestPlanApiCaseService extends TestPlanResourceService {
|
|||
super.checkCollection(testPlan.getId(), apiCase.getCollectionId(), CaseType.API_CASE.getKey());
|
||||
boolean selectAllModule = apiCase.getModules().isSelectAllModule();
|
||||
Map<String, ModuleSelectDTO> moduleMaps = apiCase.getModules().getModuleMaps();
|
||||
moduleMaps.remove(MODULE_ALL);
|
||||
if (selectAllModule) {
|
||||
// 选择了全部模块
|
||||
List<ApiTestCase> apiTestCaseList = extApiTestCaseMapper.selectAllApiCase(isRepeat, apiCase.getModules().getProjectId(), testPlan.getId(), apiCase.getModules().getProtocols());
|
||||
|
|
Loading…
Reference in New Issue