fix(测试计划): 修复测试计划高级搜索 SQL 报错

This commit is contained in:
Captain.B 2020-10-21 20:47:44 +08:00
parent 005cdc9eb5
commit 2fc8e96219
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@
<select id="list" resultMap="BaseResultMap"
parameterType="io.metersphere.track.request.testcase.QueryTestPlanRequest">
select test_plan.*, user.name as user_name from test_plan
select DISTINCT test_plan.*, user.name as user_name from test_plan
LEFT JOIN user ON user.id = test_plan.principal
JOIN test_plan_project on test_plan.id = test_plan_id JOIN project on project.id = project_id
<where>