• ADADADADAD

    mybatis if test非空判断数字0为什么是false[ mysql数据库 ]

    mysql数据库 时间:2024-12-24 19:13:14

    作者:文/会员上传

    简介:

    1、去掉空字符串判断<if test="version != null">xxxxx</if>2、添加0值判断<if test="version != null and version != &#39;&#39; or version == 0">xxxxx</if>

    以下为本文的正文内容,内容仅供参考!本站为公益性网站,复制本文以及下载DOC文档全部免费。

    1、去掉空字符串判断

    <if test="version != null">xxxxx</if>

    2、添加0值判断

    <if test="version != null and version != '' or version == 0">xxxxx</if>

    mybatis if test非空判断数字0为什么是false.docx

    将本文的Word文档下载到电脑

    推荐度:

    下载
    热门标签: mybatisiftest