fix(性能测试时): 修复性能测试copy时没有更新数据库createUser字段导致报表统计失误的问题
--bug=1009800 --user=宋天阳 【性能测试】-复制的性能用例A-报表统计中没有统计出来 {#_orginal_url#}
This commit is contained in:
parent
981345d4ad
commit
b36cbf0268
|
@ -568,6 +568,7 @@ public class PerformanceTestService {
|
||||||
copy.setUpdateTime(System.currentTimeMillis());
|
copy.setUpdateTime(System.currentTimeMillis());
|
||||||
copy.setStatus(APITestStatus.Saved.name());
|
copy.setStatus(APITestStatus.Saved.name());
|
||||||
copy.setUserId(Objects.requireNonNull(SessionUtils.getUser()).getId());
|
copy.setUserId(Objects.requireNonNull(SessionUtils.getUser()).getId());
|
||||||
|
copy.setCreateUser(Objects.requireNonNull(SessionUtils.getUser()).getId());
|
||||||
copy.setNum(getNextNum(copy.getProjectId()));
|
copy.setNum(getNextNum(copy.getProjectId()));
|
||||||
loadTestMapper.insert(copy);
|
loadTestMapper.insert(copy);
|
||||||
// copy test file
|
// copy test file
|
||||||
|
|
Loading…
Reference in New Issue