From 8669e0ec9782d768bc7f6e6b5e62c3163ada9d20 Mon Sep 17 00:00:00 2001 From: wx Date: Tue, 21 Feb 2023 17:27:13 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA)=20?= =?UTF-8?q?=E6=89=B9=E9=87=8F=E5=88=A0=E9=99=A4=E5=8A=9F=E8=83=BD=E7=94=A8?= =?UTF-8?q?=E4=BE=8B=E5=90=8E=EF=BC=8C=E6=9C=AA=E5=85=A8=E9=83=A8=E5=88=A0?= =?UTF-8?q?=E9=99=A4devops=E5=B9=B3=E5=8F=B0=E9=9C=80=E6=B1=82=E5=85=B3?= =?UTF-8?q?=E8=81=94=E7=9A=84=E5=8A=9F=E8=83=BD=E7=94=A8=E4=BE=8B=E9=93=BE?= =?UTF-8?q?=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../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 843d02bc2f..07af296351 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 @@ -293,7 +293,7 @@ public class TestCaseService { // AzureDevops 才处理 if (StringUtils.equals(project.getPlatform(), IssuesManagePlatform.AzureDevops.name())) { testcaseIds.forEach(id -> { - TestCaseWithBLOBs testCaseWithBLOBs = testCaseMapper.selectByPrimaryKey(testcaseIds.get(0)); + TestCaseWithBLOBs testCaseWithBLOBs = testCaseMapper.selectByPrimaryKey(id); if (testCaseWithBLOBs != null) { EditTestCaseRequest request = new EditTestCaseRequest(); BeanUtils.copyBean(request, testCaseWithBLOBs);