fix(测试跟踪): 测试计划关联版本数据查询默认展示问题
This commit is contained in:
parent
4c2afe24f2
commit
0b0354cefa
|
@ -362,8 +362,5 @@
|
||||||
<if test="request.refId != null">
|
<if test="request.refId != null">
|
||||||
and ${versionTable}.ref_id = #{request.refId}
|
and ${versionTable}.ref_id = #{request.refId}
|
||||||
</if>
|
</if>
|
||||||
<if test="request.versionId == null and request.refId == null and request.id == null">
|
|
||||||
AND ${versionTable}.latest = 1
|
|
||||||
</if>
|
|
||||||
</sql>
|
</sql>
|
||||||
</mapper>
|
</mapper>
|
||||||
|
|
|
@ -356,8 +356,5 @@
|
||||||
<if test="request.refId != null">
|
<if test="request.refId != null">
|
||||||
and ${versionTable}.ref_id = #{request.refId}
|
and ${versionTable}.ref_id = #{request.refId}
|
||||||
</if>
|
</if>
|
||||||
<if test="request.versionId == null and request.refId == null and request.id == null">
|
|
||||||
AND ${versionTable}.latest = 1
|
|
||||||
</if>
|
|
||||||
</sql>
|
</sql>
|
||||||
</mapper>
|
</mapper>
|
||||||
|
|
|
@ -563,8 +563,5 @@
|
||||||
<if test="request.refId != null">
|
<if test="request.refId != null">
|
||||||
and ${versionTable}.ref_id = #{request.refId}
|
and ${versionTable}.ref_id = #{request.refId}
|
||||||
</if>
|
</if>
|
||||||
<if test="request.versionId == null and request.refId == null and request.id == null">
|
|
||||||
AND ${versionTable}.latest = 1
|
|
||||||
</if>
|
|
||||||
</sql>
|
</sql>
|
||||||
</mapper>
|
</mapper>
|
||||||
|
|
Loading…
Reference in New Issue