fix: 修复查看已有性能测试 SQL 问题

This commit is contained in:
BugKing 2020-12-14 18:06:55 +08:00
parent 80a652813f
commit 06a45cbbda
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@
<select id="checkLoadTestOwner" resultType="int">
SELECT COUNT(1)
FROM load_test
LEFT JOIN project ON api_test.project_id = project.id
LEFT JOIN project ON load_test.project_id = project.id
<where>
<if test="testId != null">
and load_test.id = #{testId}