mybatis中 Long,Integer等数值包装类型判空处理

以下写法会导致 id = 0时,无法通过检测,原因:id = 0时,在mybatis中id != ''不成立,
以下写法会导致 id = 0时,无法通过检测,原因:id = 0时,在mybatis中id != ''不成立,