fix: 用例评审关联-测试计划关联场景默认查询问题

This commit is contained in:
zhangdahai112 2022-01-24 15:43:49 +08:00 committed by zhangdahai112
parent c0d70697dc
commit 33879ea23b
2 changed files with 0 additions and 6 deletions

View File

@ -317,8 +317,5 @@
<if test="request.refId != null">
and ${versionTable}.ref_id = #{request.refId}
</if>
<if test="request.versionId == null and request.refId == null and request.id == null">
AND ${versionTable}.latest = 1
</if>
</sql>
</mapper>

View File

@ -470,8 +470,5 @@
<if test="request.refId != null">
and ${versionTable}.ref_id = #{request.refId}
</if>
<if test="request.versionId == null and request.refId == null and request.id == null">
AND ${versionTable}.latest = 1
</if>
</sql>
</mapper>