mybaits 大于小于sql

rownum<=30会报错xml

<>为xml关键字, 须要转义class

&lt; 为小于test

<where>
            1=1  and rownum &lt; 30
            <if test="ffreefreightid != null ">
                and t.ffreefreightid =#{ffreefreightid}
            </if>        
        </where>    di

相关文章
相关标签/搜索