From 0616c483b0c02c82b19760418e25b8bc948f0cf5 Mon Sep 17 00:00:00 2001 From: fit2-zhao Date: Tue, 20 Oct 2020 17:55:12 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):?= =?UTF-8?q?=20=E6=8F=90=E7=A4=BA=E6=B6=88=E6=81=AF=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/io/metersphere/xmind/XmindCaseParser.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/main/java/io/metersphere/xmind/XmindCaseParser.java b/backend/src/main/java/io/metersphere/xmind/XmindCaseParser.java index e229285af5..1c765f8ae7 100644 --- a/backend/src/main/java/io/metersphere/xmind/XmindCaseParser.java +++ b/backend/src/main/java/io/metersphere/xmind/XmindCaseParser.java @@ -150,7 +150,7 @@ public class XmindCaseParser { if (testCaseNames.contains(data.getName())) { boolean dbExist = testCaseService.exist(data); if (dbExist) { - process.add(Translator.get("test_case_already_exists_excel"), nodePath + data.getName()); + process.add(Translator.get("test_case_already_exists_excel"), nodePath + "/" + data.getName()); } } else { testCaseNames.add(data.getName()); @@ -168,7 +168,7 @@ public class XmindCaseParser { TestCaseExcelData compartData = new TestCaseExcelData(); BeanUtils.copyBean(compartData, data); if (compartDatas.contains(compartData)) { - process.add(Translator.get("test_case_already_exists_excel"), nodePath + compartData.getName()); + process.add(Translator.get("test_case_already_exists_excel"), nodePath + "/" + compartData.getName()); } compartDatas.add(compartData); }