看一下报错:
Could not set parameters for mapping:
ParameterMapping{property=‘number’, mode=IN, javaType=class java.lang.String, jdbcType=null, numericScale=null, resultMapId=‘null’, jdbcTypeName=‘null’, expression=‘null’}.
Cause: org.apache.ibatis.type.TypeException: Error setting non null for parameter #1 with JdbcType null . Try setting a different JdbcType for this parameter or a different configuration property.
我错误的原因是:
SSM实现层传递给mybatis(Mappeer.xml)的参数类型,和mybatis(Mapper.xml)的接受类型不一致
酱!