mybaits if判断进入不了

    <if test="amounttype == '1'">
            and AMOUNT &gt;= 1000000
        </if>
        <if test="amounttype == '10'">
            and AMOUNT &gt;= 10000000
        </if>.net

这样写法判断是10 的时候进入,1的时候不进入,最后百度搜索到 blog

<if test='amounttype == "1" '>
            and AMOUNT &gt;= 1000000
        </if>
        <if test='amounttype == "10" '>
            and AMOUNT &gt;= 10000000
        </if>test

 

https://blog.csdn.net/jekxi/article/details/52050116百度

相关文章
相关标签/搜索