fix(测试跟踪): 测试计划关联版本数据查询默认展示问题

This commit is contained in:
zhangdahai112 2022-01-24 14:48:11 +08:00 committed by 刘瑞斌
parent 4c2afe24f2
commit 0b0354cefa
3 changed files with 0 additions and 9 deletions

View File

@ -362,8 +362,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

@ -356,8 +356,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

@ -563,8 +563,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>