rownum<=30会报错
<>为xml关键字, 需要转义
< 为小于
<where>
1=1 and rownum < 30
<if test="ffreefreightid != null ">
and t.ffreefreightid =#{ffreefreightid}
</if>
</where>
rownum<=30会报错
<>为xml关键字, 需要转义
< 为小于
<where>
1=1 and rownum < 30
<if test="ffreefreightid != null ">
and t.ffreefreightid =#{ffreefreightid}
</if>
</where>
转载于:https://my.oschina.net/u/3389832/blog/1844991