mybatis条件查询参数为0时没有识别 其他 2021-03-24 14:50 0 阅读 Integer类型值为0时应该这样判断 <if test="userSex !=null and '' != userSex or userSex==0"> AND sex = #{userSex} 猜你喜欢