报错信息如下
### Cause: com.mysql.jdbc.exceptions.jdbc4.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 '' at line 4
报错代码如下: 使用的mybatis批量新增
刚开始以为 Mysql错误:check the manual that corresponds to your MySQL server version for the right syntax
只要列名加上``就可以,结果还是报错。
仔细检查sql并没有发现问题,后来发现一个问题,报错的时候是因为List传的没有数据导致的错误!