mybatis--字符串与数字判断

 以下是什么结果

---字符串

<if test='ioCk != null and ioCk!="Z"'>
             and a.ioCk=#{ioCk,jdbcType=VARCHAR}
</if>

----- 数字

<if test="ioCk != null and ioCk!='Z'">
             and a.ioCk=#{ioCk,jdbcType=VARCHAR}
</if>

猜你喜欢

转载自blog.csdn.net/klasoft/article/details/108451779