mybatis中的配置文件里写含有
<if test=""></if>的sql语句时
<if test=" 字段名!=null "></if>与
<if test=" 字段名!= null and test=" 字段名!= '' "></if>的区别与用法。
mybatis中的配置文件里写含有
<if test=""></if>的sql语句时
<if test=" 字段名!=null "></if>与
<if test=" 字段名!= null and test=" 字段名!= '' "></if>的区别与用法。