refactor(接口测试): 增加误删代码

This commit is contained in:
wxg0103 2023-03-08 20:10:12 +08:00 committed by wxg0103
parent 904a2828ef
commit f8a0bfe491

View File

@ -544,4 +544,15 @@
#{v}
</foreach>
</select>
<select id="selectByPlanCaseIds" resultType="io.metersphere.api.dto.plan.TestPlanApiCaseInfoDTO">
SELECT a.project_id, t.*
FROM test_plan_api_case t
INNER JOIN api_test_case a ON t.api_case_id = a.id
WHERE t.id in
<foreach collection="planCaseIds" item="id" separator="," open="(" close=")">
#{id}
</foreach>
ORDER BY t.order DESC
</select>
</mapper>