mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-04 21:19:52 +08:00
fix(测试跟踪): 修复创建测试用例后删除用例会删除列表中同名用例问题
--bug=1025830 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001025830
This commit is contained in:
parent
e64e4fd160
commit
0ab17da957
@ -228,7 +228,7 @@ public class TestCaseService {
|
||||
//新创建测试用例,默认使用最新版本
|
||||
request.setRefId(request.getId());
|
||||
request.setVersionId(baseProjectVersionMapper.getDefaultVersion(request.getProjectId()));
|
||||
} else if (StringUtils.isBlank(request.getRefId()) && StringUtils.isNotBlank(request.getVersionId())) {
|
||||
} else if (StringUtils.isNotBlank(request.getVersionId())) {
|
||||
//从版本选择直接创建
|
||||
request.setRefId(request.getId());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user