[异常]java.sql.SQLException: Parameter index out of range (1 > number of parameters, which is 0)

Caused by: 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. Cause: java.sql.SQLException: Parameter index out of range (1 > number of parameters, which is 0).
	at org.apache.ibatis.type.BaseTypeHandler.setParameter(BaseTypeHandler.java:55)
	at org.apache.ibatis.scripting.defaults.DefaultParameterHandler.setParameters(DefaultParameterHandler.java:87)
	... 55 more

在这里插入图片描述
问题在于参数列数量不匹配 低级错误

你可能感兴趣的:(异常,日常bug)