fix(UI自动化): 修复场景查看引用-点击测试计划名称-未跳转到测试计划详情页
--bug=1016924 --user=刘瑶 【UI测试】场景查看引用-点击测试计划名称-未跳转到测试计划详情页 https://www.tapd.cn/55049933/s/1246082
This commit is contained in:
parent
21a87e21a3
commit
b3c3c09de6
|
@ -4,10 +4,7 @@ import io.metersphere.base.domain.UiScenarioReference;
|
|||
import io.metersphere.base.domain.UiScenarioReferenceExample;
|
||||
import java.util.List;
|
||||
|
||||
import io.metersphere.xpack.ui.dto.RefReq;
|
||||
import io.metersphere.xpack.ui.dto.RefResp;
|
||||
import io.metersphere.xpack.ui.dto.UiCheckRefDTO;
|
||||
import io.metersphere.xpack.ui.dto.UiCheckRefReq;
|
||||
import io.metersphere.xpack.ui.dto.*;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
public interface UiScenarioReferenceMapper {
|
||||
|
@ -38,7 +35,7 @@ public interface UiScenarioReferenceMapper {
|
|||
*/
|
||||
List<RefResp> refList(@Param("request") RefReq request);
|
||||
|
||||
List<RefResp> getTestPlanRef(@Param("request") RefReq request);
|
||||
List<TestPlanRefResp> getTestPlanRef(@Param("request") RefReq request);
|
||||
|
||||
List<UiCheckRefDTO> checkRef(@Param("request")UiCheckRefReq request);
|
||||
}
|
|
@ -276,8 +276,9 @@
|
|||
</if>
|
||||
</select>
|
||||
|
||||
<select id="getTestPlanRef" parameterType="io.metersphere.xpack.ui.dto.RefReq" resultType="io.metersphere.xpack.ui.dto.RefResp">
|
||||
SELECT tp.name AS scenarioName , us.id AS id, p.name AS project, us.create_time AS dateStr , w.name AS workspace, tp.id AS targetId
|
||||
<select id="getTestPlanRef" parameterType="io.metersphere.xpack.ui.dto.RefReq" resultType="io.metersphere.xpack.ui.dto.TestPlanRefResp">
|
||||
SELECT tp.name AS scenarioName , us.id AS id, p.name AS project, us.create_time AS dateStr , w.name AS workspace, tp.id AS targetId,
|
||||
p.workspace_id AS workspaceId, p.id AS projectId
|
||||
FROM
|
||||
`test_plan_ui_scenario` us LEFT JOIN `test_plan` tp ON us.test_plan_id = tp.id
|
||||
LEFT JOIN project p ON tp.project_id = p.id
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 2860b379a3a4d363df531b002bcd699c01c8a29f
|
||||
Subproject commit 4ea327cd5c2e98fe8630e25ffa90b6195755e116
|
|
@ -1 +1 @@
|
|||
Subproject commit a93dfd4ffcde2e8344d38bd218b63c9a76e989d5
|
||||
Subproject commit e2a4740e8fcc53d85778f83e7d110da970e4a919
|
Loading…
Reference in New Issue