fix: 修复性能测试复制时的问题
--bug=1009784 --user=刘瑞斌 [性能测试]复制一个有三个版本的用例A-复制当前最新版本的用例,复制的用例B有三个版本 https://www.tapd.cn/55049933/s/1095036
This commit is contained in:
parent
d1b8940a25
commit
95569376ed
|
@ -576,6 +576,7 @@ public class PerformanceTestService {
|
|||
copy.setUserId(Objects.requireNonNull(SessionUtils.getUser()).getId());
|
||||
copy.setCreateUser(Objects.requireNonNull(SessionUtils.getUser()).getId());
|
||||
copy.setNum(getNextNum(copy.getProjectId()));
|
||||
copy.setRefId(copy.getId());
|
||||
loadTestMapper.insert(copy);
|
||||
// copy test file
|
||||
copyLoadTestFiles(request.getId(), copy.getId());
|
||||
|
|
Loading…
Reference in New Issue