From b36cbf02683267f9cb70ded639232d7cbdda0f0d Mon Sep 17 00:00:00 2001 From: song-tianyang Date: Thu, 20 Jan 2022 14:15:42 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=80=A7=E8=83=BD=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E6=97=B6):=20=E4=BF=AE=E5=A4=8D=E6=80=A7=E8=83=BD=E6=B5=8B?= =?UTF-8?q?=E8=AF=95copy=E6=97=B6=E6=B2=A1=E6=9C=89=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=BA=93createUser=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E5=AF=BC=E8=87=B4=E6=8A=A5=E8=A1=A8=E7=BB=9F=E8=AE=A1=E5=A4=B1?= =?UTF-8?q?=E8=AF=AF=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1009800 --user=宋天阳 【性能测试】-复制的性能用例A-报表统计中没有统计出来 {#_orginal_url#} --- .../metersphere/performance/service/PerformanceTestService.java | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/src/main/java/io/metersphere/performance/service/PerformanceTestService.java b/backend/src/main/java/io/metersphere/performance/service/PerformanceTestService.java index 1e7cd42819..0d04fa8af5 100644 --- a/backend/src/main/java/io/metersphere/performance/service/PerformanceTestService.java +++ b/backend/src/main/java/io/metersphere/performance/service/PerformanceTestService.java @@ -568,6 +568,7 @@ public class PerformanceTestService { copy.setUpdateTime(System.currentTimeMillis()); copy.setStatus(APITestStatus.Saved.name()); copy.setUserId(Objects.requireNonNull(SessionUtils.getUser()).getId()); + copy.setCreateUser(Objects.requireNonNull(SessionUtils.getUser()).getId()); copy.setNum(getNextNum(copy.getProjectId())); loadTestMapper.insert(copy); // copy test file