mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-11-30 11:08:38 +08:00
fix(测试计划): 修复默认模块的测试计划不显示模块的缺陷
This commit is contained in:
parent
61ff20b5ac
commit
30ae2bc8da
@ -485,6 +485,8 @@ public class TestPlanService extends TestPlanBaseUtilsService {
|
||||
TestPlanModule module = testPlanModuleMapper.selectByPrimaryKey(testPlan.getModuleId());
|
||||
moduleName = module == null ? Translator.get("unplanned.plan") : module.getName();
|
||||
response.setModuleId(module == null ? ModuleConstants.DEFAULT_NODE_ID : module.getId());
|
||||
} else {
|
||||
response.setModuleId(ModuleConstants.DEFAULT_NODE_ID);
|
||||
}
|
||||
|
||||
//计划组只有几个参数
|
||||
@ -527,6 +529,7 @@ public class TestPlanService extends TestPlanBaseUtilsService {
|
||||
|
||||
/**
|
||||
* 关联的资源初始化默认测试集
|
||||
*
|
||||
* @param planId 计划ID
|
||||
* @param allCollections 测试集
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user