fix: 修复sql

This commit is contained in:
shiziyuan9527 2020-12-14 18:04:06 +08:00
parent 80a652813f
commit 35ba4f68b9
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}