From 7c5367234e64a6f7b5859c7da01bfc53f400cd6e Mon Sep 17 00:00:00 2001 From: WangXu10 Date: Tue, 15 Aug 2023 16:25:28 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=A4=8D=E5=88=B6=E5=8A=9F=E8=83=BD=E7=94=A8?= =?UTF-8?q?=E4=BE=8B=E8=B4=A3=E4=BB=BB=E4=BA=BA=E5=8F=98=E6=9B=B4=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1028407 --user=王旭 【测试跟踪】功能用例-复制到-选择模块-复制过去的用例责任人发生变更 https://www.tapd.cn/55049933/s/1403922 --- .../src/main/java/io/metersphere/service/TestCaseService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-track/backend/src/main/java/io/metersphere/service/TestCaseService.java b/test-track/backend/src/main/java/io/metersphere/service/TestCaseService.java index 5d3c6b14ea..c5038408cb 100644 --- a/test-track/backend/src/main/java/io/metersphere/service/TestCaseService.java +++ b/test-track/backend/src/main/java/io/metersphere/service/TestCaseService.java @@ -3224,7 +3224,7 @@ public class TestCaseService { testCase.setNum(nextNum++); testCase.setCasePublic(false); testCase.setCreateUser(SessionUtils.getUserId()); - testCase.setMaintainer(SessionUtils.getUserId()); + testCase.setMaintainer(testCase.getMaintainer()); testCase.setReviewStatus(TestCaseReviewStatus.Prepare.name()); testCase.setStatus(TestCaseReviewStatus.Prepare.name()); testCase.setLastExecuteResult(null);