Error setting null for parameter #2 with JdbcType OTHER .
Try setting a different JdbcType for this parameter or a different jdbcTypeForNull configuration property.
mybatis配置文件没有对传入的参数进行非空判断;
或者类型转化错误,尝试加上:
如
jdbcType=VARCHAR
(对应的类型)
Error setting null for parameter #2 with JdbcType OTHER .
Try setting a different JdbcType for this parameter or a different jdbcTypeForNull configuration property.
mybatis配置文件没有对传入的参数进行非空判断;
或者类型转化错误,尝试加上:
如
jdbcType=VARCHAR
(对应的类型)