parent
a9a5047505
commit
8573dc8234
|
@ -62,7 +62,7 @@
|
||||||
<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">
|
<if test="request.versionId == null and request.refId == null">
|
||||||
AND ${versionTable}.latest = 1
|
AND ${versionTable}.latest = 1
|
||||||
</if>
|
</if>
|
||||||
</sql>
|
</sql>
|
||||||
|
|
Loading…
Reference in New Issue