记录,mabaties问题(一)

来源:互联网 发布:c语言函数头举例 编辑:程序博客网 时间:2024/06/06 02:16

数字自能判断是否为null或者等于几

id是long或者integer类型

<if test="     id ! = null     ">

</if>

<if test="     id ! = null  and id==1    ">

</if>


name是string类型

<if test="     name ! = null  and name!=' '    ">

</if>



0 0
原创粉丝点击