From ab8ea637648ce4ce048bf10e817d8e71b06647f3 Mon Sep 17 00:00:00 2001 From: WangXu10 Date: Mon, 28 Oct 2024 17:11:58 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E4=BB=BB=E5=8A=A1=E4=B8=AD=E5=BF=83):=20?= =?UTF-8?q?=20=E4=BB=BB=E5=8A=A1=E5=BC=80=E5=A7=8B=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E5=B1=95=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1048203 --user=王旭 【任务中心】详情列表-查看执行结果-任务未执行-展示任务开始时间 https://www.tapd.cn/55049933/s/1599563 --- .../api/service/scenario/ApiScenarioReportService.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/service/scenario/ApiScenarioReportService.java b/backend/services/api-test/src/main/java/io/metersphere/api/service/scenario/ApiScenarioReportService.java index 30e7904cdf..869f39de3c 100644 --- a/backend/services/api-test/src/main/java/io/metersphere/api/service/scenario/ApiScenarioReportService.java +++ b/backend/services/api-test/src/main/java/io/metersphere/api/service/scenario/ApiScenarioReportService.java @@ -477,6 +477,8 @@ public class ApiScenarioReportService { ApiScenarioReportDTO scenarioReportDetail = scenarioReportDetail(id); BeanUtils.copyBean(apiTaskReportDTO, scenarioReportDetail); } + apiTaskReportDTO.setStartTime(task.getStartTime()); + apiTaskReportDTO.setEndTime(task.getEndTime()); } return apiTaskReportDTO; }