mybatis if标签test 判断数字遇到的问题

第一部分:html mybatis作if 判断 注意:下面这种写法只适用于 id 类型为字符串.java   <if test="id != null and id != '' ">spring       id = #{id}sql   </if>express   若是id类型为int 当id=0时 这个判断不会进入.apache 能够这样写<if test="id != null and i
相关文章
相关标签/搜索