From 76ae965d7c37aa9e9c007734f15ee065349f9713 Mon Sep 17 00:00:00 2001 From: MeterSphere Bot <78466014+metersphere-bot@users.noreply.github.com> Date: Fri, 15 Jul 2022 17:24:19 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E6=9F=A5=E7=9C=8Bcase=E6=89=A7=E8=A1=8C=E7=BB=93?= =?UTF-8?q?=E6=9E=9C=E7=9A=84=E7=BC=BA=E9=99=B7=20(#15828)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1014884 --user=王孝刚 【测试跟踪】测试计划关联接口case,批量执行case,点击执行结果没有弹框 https://www.tapd.cn/55049933/s/1202673 Co-authored-by: wxg0103 <727495428@qq.com> --- .../base/mapper/ext/ExtApiDefinitionExecResultMapper.xml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiDefinitionExecResultMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiDefinitionExecResultMapper.xml index 9d482e0fcb..d31e752d64 100644 --- a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiDefinitionExecResultMapper.xml +++ b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtApiDefinitionExecResultMapper.xml @@ -219,7 +219,11 @@ select * from api_definition_exec_result where resource_id = #{resourceId,jdbcType=VARCHAR} - and `type` = #{type, jdbcType=VARCHAR} + + and + `type` = #{type, jdbcType=VARCHAR} + + ORDER BY start_time DESC LIMIT 1