mybatis 之 if test 条件

问题描述:mybatis 之 if test 条件,参数为0时,查询条件未输出。如,当 tagtype值为0(Integer),查询条件没有拼接 and tagtype=0。传入其余值(1,2,3...)都正常 1、mybatis 配置     <!-- Where查询条件 -->     <sql id="whereSQL">         <if test=" null != id">   
相关文章
相关标签/搜索