From fec36d8dc799b62ccf8f3bd18149eaed7c9f5e25 Mon Sep 17 00:00:00 2001 From: wenyann Date: Thu, 1 Jul 2021 15:46:24 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E3=80=90=E6=B5=8B=E8=AF=95=E7=94=A8?= =?UTF-8?q?=E4=BE=8B=E3=80=91=E5=A4=8D=E5=88=B6=E7=94=A8=E4=BE=8B=EF=BC=8C?= =?UTF-8?q?=E7=82=B9=E5=87=BB=E4=BF=9D=E5=AD=98=EF=BC=8C=E4=B8=8D=E5=85=B3?= =?UTF-8?q?=E9=97=AD=E9=A1=B5=E9=9D=A2=EF=BC=8C=E4=BF=AE=E6=94=B9=E7=94=A8?= =?UTF-8?q?=E4=BE=8B=E5=90=8Dnum=E9=87=8D=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/io/metersphere/track/service/TestCaseService.java | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/src/main/java/io/metersphere/track/service/TestCaseService.java b/backend/src/main/java/io/metersphere/track/service/TestCaseService.java index aac69c7f63..ec16fdbcd9 100644 --- a/backend/src/main/java/io/metersphere/track/service/TestCaseService.java +++ b/backend/src/main/java/io/metersphere/track/service/TestCaseService.java @@ -1054,6 +1054,7 @@ public class TestCaseService { public String edit(EditTestCaseRequest request, List files) { TestCaseWithBLOBs testCaseWithBLOBs = testCaseMapper.selectByPrimaryKey(request.getId()); + request.setNum(testCaseWithBLOBs.getNum()); if (testCaseWithBLOBs == null) { MSException.throwException(Translator.get("edit_load_test_not_found") + request.getId()); }