jdbcType 2020-06-19 本文已影响0人 xiari1991 当传入的值为null时,mabatis不知道将null转换为什么类型,会报错111. 指定jdbcType可以避免这种问题 当查询时:判断过不是空的时候,可以不指定jdbcType