mybatis中0的处理

来源:互联网 发布:角度测量软件哪种好 编辑:程序博客网 时间:2024/05/16 23:35

1、如果将参数0传入,会被判断为null

<if test="status!= null and status!= '' or status ==0">    AND status= #{status,jdbcType=INTEGER}</if>


0 0
原创粉丝点击