From bc07ab7a9834263a70c4e8dbe0582d0d3b4936ca Mon Sep 17 00:00:00 2001 From: wenyann <64353056+wenyann@users.noreply.github.com> Date: Fri, 23 Oct 2020 18:30:37 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B6=88=E6=81=AF=E8=AE=BE=E7=BD=AE?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92=E6=97=B6=E9=97=B4=E5=A4=84?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/io/metersphere/track/service/TestPlanService.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/backend/src/main/java/io/metersphere/track/service/TestPlanService.java b/backend/src/main/java/io/metersphere/track/service/TestPlanService.java index 01b8af27f3..7ae31d1ea3 100644 --- a/backend/src/main/java/io/metersphere/track/service/TestPlanService.java +++ b/backend/src/main/java/io/metersphere/track/service/TestPlanService.java @@ -542,10 +542,14 @@ public class TestPlanService { String eTime = String.valueOf(endTime); if (!sTime.equals("null")) { start = sdf.format(new Date(Long.parseLong(sTime))); + } else { + start = ""; } String end = null; if (!eTime.equals("null")) { end = sdf.format(new Date(Long.parseLong(eTime))); + } else { + end = ""; } String context = ""; if (StringUtils.equals(NoticeConstants.CREATE, type)) {