diff --git a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiScenarioReportMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiScenarioReportMapper.xml index 0048ae51c0..8acd2c9948 100644 --- a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiScenarioReportMapper.xml +++ b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiScenarioReportMapper.xml @@ -181,7 +181,7 @@ INNER JOIN ( SELECT acitem.`name`,acitem.id FROM api_scenario acitem INNER JOIN `schedule` sc ON acitem.id = sc.resource_id ) ac on ar.scenario_id = ac.id - WHERE acr.project_id = #{projectId} AND ar.create_time BETWEEN #{firstDayTimestamp} AND #{lastDayTimestamp} + WHERE acr.project_id = #{projectId} AND ar.trigger_mode = 'SCHEDULE' AND ar.create_time BETWEEN #{firstDayTimestamp} AND #{lastDayTimestamp} \ No newline at end of file diff --git a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiTestReportMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiTestReportMapper.xml index fec8a3e2c8..7683c73738 100644 --- a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiTestReportMapper.xml +++ b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiTestReportMapper.xml @@ -159,7 +159,7 @@ INNER JOIN api_test_report testReport ON testReportDetail.report_id = testReport.id WHERE sch.resource_id IN ( SELECT id FROM api_test WHERE project_id = #{projectId,jdbcType=VARCHAR} - ) + ) AND testReport.trigger_mode = 'SCHEDULE' GROUP BY groupField; @@ -170,6 +170,6 @@ WHERE sch.resource_id IN ( SELECT id FROM api_test WHERE project_id = #{projectId,jdbcType=VARCHAR} ) - AND testReport.create_time BETWEEN #{startTime} and #{endTime} + AND testReport.trigger_mode = 'SCHEDULE' AND testReport.create_time BETWEEN #{startTime} and #{endTime} \ No newline at end of file diff --git a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtScheduleMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtScheduleMapper.xml index 9134566d53..1b72bfc145 100644 --- a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtScheduleMapper.xml +++ b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtScheduleMapper.xml @@ -46,9 +46,11 @@ diff --git a/frontend/src/business/components/api/homepage/ApiTestHomePage.vue b/frontend/src/business/components/api/homepage/ApiTestHomePage.vue index 1c54476b84..922b7948c4 100644 --- a/frontend/src/business/components/api/homepage/ApiTestHomePage.vue +++ b/frontend/src/business/components/api/homepage/ApiTestHomePage.vue @@ -2,14 +2,22 @@
-
+
🤔️天凉了,保温杯买了吗?
-
- 😔觉得MeterSphere不好用就来 https://github.com/metersphere/metersphere/issues 吐个槽吧! +
+ 😔觉得MeterSphere不好用就来 + https://github.com/metersphere/metersphere/issues + + 吐个槽吧!
-
- 😄觉得MeterSphere好用就来 https://github.com/metersphere/metersphere 点个star吧! +
+ 😄觉得MeterSphere好用就来 + https://github.com/metersphere/metersphere + + 点个star吧!
😊 MeterSphere温馨提醒 —— 多喝热水哟! @@ -19,25 +27,25 @@ - + - + - + - + - - + + - + @@ -48,7 +56,7 @@