fix: 用例评审关联-测试计划关联场景默认查询问题
This commit is contained in:
parent
c0d70697dc
commit
33879ea23b
|
@ -317,8 +317,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>
|
||||||
|
|
|
@ -470,8 +470,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