fix(接口测试): 修复用例引用关系未排除回收站中的数据

--bug=1011888 --user=赵勇 【接口测试】github#12258,当场景引用用例后 删除改场景 用例查看引用时 还是会有该场景的展示 https://www.tapd.cn/55049933/s/1131820
This commit is contained in:
fit2-zhao 2022-04-08 15:47:49 +08:00 committed by 刘瑞斌
parent 634425cb09
commit a789da6ff1
1 changed files with 1 additions and 0 deletions

View File

@ -369,6 +369,7 @@
<if test="request.moduleId != null">
AND api_scenario_module_id = #{request.moduleId}
</if>
and status != 'Trash'
and scenario_definition like CONCAT('%', #{request.id},'%') and id != #{request.id}
</where>
</select>