一、发现问题
Caused by: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '
二、问题解决
sql 语句在mapper.xml拼接错了,我当时是多了一个逗号