jenkins
This commit is contained in:
parent
2510d7d2db
commit
16c7044b25
|
@ -54,14 +54,14 @@
|
||||||
</if>
|
</if>
|
||||||
</select>
|
</select>
|
||||||
<select id="listByMethod" resultType="io.metersphere.track.dto.TestCaseDTO">
|
<select id="listByMethod" resultType="io.metersphere.track.dto.TestCaseDTO">
|
||||||
SELECT id,name,status,project_id,type from api_test
|
SELECT id,name,status,project_id,"api" as type from api_test
|
||||||
<where>
|
<where>
|
||||||
<if test="request.projectId!=null">
|
<if test="request.projectId!=null">
|
||||||
and project_id=#{request.projectId}
|
and project_id=#{request.projectId}
|
||||||
</if>
|
</if>
|
||||||
</where>
|
</where>
|
||||||
UNION ALL
|
UNION ALL
|
||||||
select id,name,status,project_id,type from load_test
|
select id,name,status,project_id,"perform" as type from load_test
|
||||||
<where>
|
<where>
|
||||||
<if test="request.projectId!=null">
|
<if test="request.projectId!=null">
|
||||||
and project_id= #{request.projectId}
|
and project_id= #{request.projectId}
|
||||||
|
|
Loading…
Reference in New Issue