异常:Caused by: java.sql.SQLException: Parameter index out of range (1 > number of parameters, which is 0).
在xml里面在写sql的时候参数被单引号包围导致的。
也会有其他原因导致这个问题。
这位网友有更详细的记录:
https://blog.youkuaiyun.com/qq_40241957/article/details/99691330
异常:Caused by: java.sql.SQLException: Parameter index out of range (1 > number of parameters, which is 0).
在xml里面在写sql的时候参数被单引号包围导致的。
也会有其他原因导致这个问题。
这位网友有更详细的记录:
https://blog.youkuaiyun.com/qq_40241957/article/details/99691330