java.sql.SQLException: Parameter index out of range (4 > number of parameters, which is 3)


mapper.xml中,注释的不完整导致。
idea使用单行注释,注释的不完整,最好用xml的注释。